[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 17:06:55 CEST 2019


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

--- Comment #1 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 88384
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=88384&action=edit
Bug 22749: Regression tests for Koha::Item->hidden_in_opac

This patch introduces regression tests for Koha::Item->hidden_in_opac to
verify it is not considering the hidelostitems syspref when determining
if an item should be hidden (per policy) in the OPAC.

To test:
- Apply this patch
- Run:
  $ kshell
 k$ prove t/db_dependent/Koha/Item.t
=> FAIL: Tests fail!

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


More information about the Koha-bugs mailing list