[Koha-bugs] [Bug 17556] Move GetHideLostItemsPreference to Koha::Patron

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Nov 4 16:33:12 CET 2016


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

--- Comment #1 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Created attachment 57215
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=57215&action=edit
Bug 17556: Koha::Patrons - Remove GetHideLostItemsPreference

The subroutine C4::Members::GetHideLostItemsPreference can easily be
replaced with Koha::Patron->find(42)->category->hidelostitems

Test plan:
Create 2 patron categories, 1 with "Lost items in staff client" set to
"shown" and another one to "Hidden by default"
Create 2 patrons using them
On the result search page, the detail page of a record, the item list
page and the page to place a hold, make sure the lost items are
shown/hidden as expected

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


More information about the Koha-bugs mailing list