]> git.koha-community.org Git - koha.git/commit
Bug 28299: Make buildKohaItemsNamespace accept Koha::Items
authorTomas Cohen Arazi <tomascohen@theke.io>
Mon, 10 May 2021 08:01:02 +0000 (10:01 +0200)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 6 Jul 2021 08:18:52 +0000 (10:18 +0200)
commita882783326c2f7f731f388703fab9cc9fee1b345
tree605ff8b4545a175a9ae3f77cb6ba0d8bf49551d6
parent4d8ff723d53abe8c95e18d5034d4c727b0dbfb3e
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@theke.io>
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
C4/XSLT.pm
opac/opac-shelves.pl