[Koha-bugs] [Bug 33497] Reduce DB calls on staff detail page
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Apr 18 15:56:30 CEST 2023
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33497
--- Comment #8 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
+my $items = $biblio->items({ host_items => 1 })->search_ordered( $params, {
prefetch => ['issue','branchtransfers'] } );
[...]
+$dat->{'count'} = $biblio->items({ host_items => 1 })->count;
+$dat->{'showncount'} = $items->count;
Are not we going to always get count == showncount?
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list