Bug 32730: Add Patron Lists tab to patron details and circulation pages
authorMichael Hafen <michael.hafen@washk12.org>
Fri, 27 Jan 2023 18:14:32 +0000 (11:14 -0700)
committerTomas Cohen Arazi <tomascohen@theke.io>
Wed, 1 Nov 2023 20:23:09 +0000 (17:23 -0300)
commit0f122a940078ed5be92d358d5c0d9c5883c1e7c5
treefa829499f01f84f625b02c1db15355f54c933ec9
parentcf57e2f9184b49ea4e5e0d318d48247c2b523f3c
Bug 32730: Add Patron Lists tab to patron details and circulation pages

Test Plan:
1. Apply patch
2. create a patron list if there aren't any
3. search for a patron
4. observe the "Patron lists" tab showing the list that the patron is not in
5. try adding the patron to the list and removing them from the list to
   be sure the feature has full operation
6. click "Check Out" on the side bar menu to navigate to the circulation
   page for this patron
7. observe the "Patron lists" tab, and verify it operates as it did on the
   patron details page

Bug 32730: (follow-up) Minor corrections
   by Owen Leonard

This patch corrects an instance of an incorrect capital letter
("Patron Lists" -> "Patron lists") and makes minor tweaks to
indentation.

Signed-off-by: Stina Hallin <stina.hallin@ub.lu.se>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Edit: (tcohen) new files should be run through perltidy ALWAYS. Did it
and squashed it here.

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Koha/Patron.pm
circ/circulation.pl
koha-tmpl/intranet-tmpl/prog/en/includes/patron-detail-tabs.inc
koha-tmpl/intranet-tmpl/prog/en/modules/patron_lists/patron-lists-tab.tt [new file with mode: 0644]
koha-tmpl/intranet-tmpl/prog/js/pages/circulation.js
members/moremember.pl
patron_lists/patron-lists-tab.pl [new file with mode: 0755]
t/db_dependent/PatronLists.t