[Koha-bugs] [Bug 18989] Allow displaying biblios with all items hidden by OpacHiddenItems

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Apr 23 21:51:30 CEST 2021


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

--- Comment #26 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 120137
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=120137&action=edit
Bug 18989: (QA follow-up) Make Koha::Biblio->hidden_in_opac aware of
OpacHiddenItemsHidesRecord

This patch makes the method aware of the new syspref. It will only eval
the rules against items if the OpacHiddenItemsHidesRecord syspref is
set.

Tests are added to reflect this.

To test:
1. Apply this patch
2. Run:
   $ kshell
  k$ prove t/db_dependent/Koha/Biblio.t
=> SUCCESS: Tests pass!
3. Sign off :-D

Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>

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


More information about the Koha-bugs mailing list