]> git.koha-community.org Git - koha.git/commit
Bug 17556: Koha::Patrons - Remove GetHideLostItemsPreference
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 4 Nov 2016 15:12:53 +0000 (15:12 +0000)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 9 Dec 2016 18:53:40 +0000 (18:53 +0000)
commit662f5625c2a87c9d2c738c7f0c0022fc493288a6
tree51faa285eca2669753e034b0e428d72e887c06ba
parent7705a195a7675b247d128f56e8453d945220826e
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

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
C4/Members.pm
C4/Search.pm
catalogue/detail.pl
catalogue/moredetail.pl
reserve/request.pl