[Koha-bugs] [Bug 28966] Holds queue viewer too slow to load for large numbers of holds

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jul 25 15:28:41 CEST 2023


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28966

--- Comment #36 from Kyle M Hall <kyle at bywatersolutions.com> ---
(In reply to Marcel de Rooy from comment #33)
>             join => [
>                 'borrower',
> #                'biblio',
> #                'biblioitem',
> #                {
> #                    'item' => {
> #                        'item_group_item' => 'item_group'
> #                    }
> #                },
>             ],
>             prefetch => [
>                 'biblio',
>                 'biblioitem',
>                 {
>                     'item' => {
>                         'item_group_item' => 'item_group'
>                     }
>                 }
>             ],
> 
> Do we need to both join and prefetch here ?

The DBIC docs indicate we can drop the join as the prefetch implies it.

  The syntax of 'prefetch' is the same as 'join' and implies the joining, so
there is no need to use both together.

I'll add a followup!

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list