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

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri May 7 15:42:23 CEST 2021


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

--- Comment #2 from Tomás Cohen Arazi <tomascohen at gmail.com> ---

I expect to see something like:

    my $items = $biblio
                  ->items
                  ->filter_by_visible_in_opac({ patron => $patron });

in the controller.

I see why it is written like this (buildKohaItemsNamespace makes a new query on
items filtering the hidden ones out). Should we (temporarily) add an extra
parameters $only_this_items and pass this calculated value instead?

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


More information about the Koha-bugs mailing list