Koha-clms/t/db_dependent/Circulation
Jonathan Druart 6ee8dd3a59 Bug 15407: Koha::Patron::Categories - replace C4::Category->all
The C4::Category module contained only 1 method to return the patron
categories available for the logged in user.
The new method Koha::Patron::Categories->search_limited does exactly the
same thing (see tests) and must be used in place of it.

Test plan:
- Same prerequisite as before
For the following pages, you should not see patron categories limited to
other libraries.
- On the 'Item circulation alerts' admin page
  (admin/item_circulation_alerts.pl), modify the settings for check-in
  and checkout (NOTE: Should not we display all patron categories on
  this page? If yes, it must be done in another bug report to ease
  backporting it).
- Search for patrons in the admin (budget) and acquisition (order) module.
- On the patron home page (search form in the header)

Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
2016-09-08 13:29:03 +00:00
..
IssuingRules Bug 15548: Move new patron related code to Patron* 2016-03-03 14:38:26 -07:00
AnonymiseIssueHistory.t Bug 16155: Adjust a few other tests 2016-05-04 13:47:58 +00:00
Branch.t Bug 16404: Fix Circulation/Branch.t (tests 8-11) 2016-05-03 15:21:31 +00:00
CalcDateDue.t Bug 12787: (QA followup) small QA fixes 2016-04-22 00:54:35 +00:00
CalcFine.t Bug 16155: Adjust a few other tests 2016-05-04 13:47:58 +00:00
CheckIfIssuedToPatron.t Bug 15407: Koha::Patron::Categories - replace C4::Category->all 2016-09-08 13:29:03 +00:00
CheckValidBarcode.t Bug 15629: Koha::Libraries - Remove ModBranch 2016-02-24 03:55:06 +00:00
GetHardDueDate.t Bug 14695: Fix GetHardDueDate.t tests 2016-09-08 12:44:16 +00:00
GetIssues.t Bug 15407: Koha::Patron::Categories - replace C4::Category->all 2016-09-08 13:29:03 +00:00
GetTopIssues.t Bug 11998: Use t::lib::Mocks::mock_preference in tests 2016-03-15 07:08:28 +00:00
IsItemIssued.t Bug 14504: Changes missed while fixing patches 2016-08-26 12:07:27 +00:00
MarkIssueReturned.t Bug 15629: Koha::Libraries - Remove ModBranch 2016-02-24 03:55:06 +00:00
NoIssuesChargeGuarantees.t Bug 16405: Fix Circulation/NoIssuesChargeGuarantees.t test 2 2016-05-04 14:23:34 +00:00
OfflineOperation.t Bug 12787: Reorganise t/db_dependent files 2016-04-22 00:54:35 +00:00
Returns.t Bug 11998: Use t::lib::Mocks::mock_preference in tests 2016-03-15 07:08:28 +00:00
TooMany.t Bug 14045: Fix failing tests if issuing rules exist 2015-11-06 12:01:14 -03:00
dateexpiry.t Bug 12787: Reorganise t/db_dependent files 2016-04-22 00:54:35 +00:00
issue.t Bug 12787: Reorganise t/db_dependent files 2016-04-22 00:54:35 +00:00
transfers.t Bug 12787: (QA followup) small QA fixes 2016-04-22 00:54:35 +00:00