[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:35 CEST 2019


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

Liz Rea <wizzyrea at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #88387|0                           |1
        is obsolete|                            |

--- Comment #4 from Liz Rea <wizzyrea at gmail.com> ---
Created attachment 88388
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=88388&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!

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