]> git.koha-community.org Git - koha.git/commit
Bug 15407: Koha::Patron::Categories - replace GetBorrowercategoryList
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 21 Dec 2015 17:27:08 +0000 (17:27 +0000)
committerKyle M Hall <kyle@bywatersolutions.com>
Thu, 8 Sep 2016 13:29:22 +0000 (13:29 +0000)
commit6239bbd35f31bac5b9c98ab96bad9617c68b5de3
tree4dd6dadebeb74b9dd7cbef1dce9fb8cf001b65a0
parenta5a23bcebcb0cfce65b72f9ccef484e9d44fe33a
Bug 15407: Koha::Patron::Categories - replace GetBorrowercategoryList

C4::Members::GetBorrowercategoryList returned all the patron categories,
ordered by description.
This can be done using the search method of the Koha::Patron::Categories
module.

Test plan:
- Same prerequisite as before
For the following pages, you should not see patron categories limited to other
libraries. They should be ordered as before this patch, by description.
- On the "patron attribute types" admin page (admin/patron-attr-types.pl).
- On the "Batch patron deletion/anonymization"
  (tools/cleanborrowers.pl), the dropdown list should be filled
  correctly.
- On the import patron tool
- On the following report:
    reports/reserves_stats.pl
Confirm that the patron categories are displayed and that the report
still works as before.

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>
C4/Members.pm
admin/patron-attr-types.pl
reports/issues_stats.pl
reports/reserves_stats.pl
tools/cleanborrowers.pl
tools/import_borrowers.pl
tools/modborrowers.pl