[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
Tue Apr 23 10:13:58 CEST 2019
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22749
Josef Moravec <josef.moravec at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #88388|0 |1
is obsolete| |
Attachment #88389|0 |1
is obsolete| |
--- Comment #6 from Josef Moravec <josef.moravec at gmail.com> ---
Created attachment 88404
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=88404&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>
Signed-off-by: Josef Moravec <josef.moravec at gmail.com>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list