[Koha-bugs] [Bug 28299] OpacHiddenItems not working on opac-shelves

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jun 16 22:00:28 CEST 2021


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

--- Comment #18 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 122052
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=122052&action=edit
Bug 28299: Make buildKohaItemsNamespace accept Koha::Items

This patch makes buildKohaItemsNamespace (and its only caller,
XSLTParse4Display) accept a an optional Koha::Items resultset.

This way we don't need to calculate (from the DB) the list of hidden
itemnumbers, but solve it in one query.

Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
Signed-off-by: Victor Grousset/tuxayo <victor at tuxayo.net>

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


More information about the Koha-bugs mailing list