[Koha-bugs] [Bug 22749] Koha::Item->hidden_in_opac should consider hidelostitems syspref

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Apr 22 18:02:42 CEST 2019


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

--- Comment #5 from Liz Rea <wizzyrea at gmail.com> ---
Created attachment 88389
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=88389&action=edit
Bug 22749: Make Koha::Item->hidden_in_opac respect hidelostitems

This patch makes Koha::Item->hidden_in_opac take hidelostitems into
account when performing the calculation.

To test:
- Apply the regression tests patch
- Run:
  $ kshell
 k$ prove t/db_dependent/Koha/Item.t
=> FAIL: Tests fail because the code doesn't (yet) care about the
syspref
- Apply this patch
- Run:
 k$ prove t/db_dependent/Koha/Item.t
=> SUCCESS: Tests pass!
- Sign off :-D

Signed-off-by: Liz Rea <wizzyrea at gmail.com>

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


More information about the Koha-bugs mailing list