Bug 28726: Add sort1 and sort2 to patron card creator - patron search.
authorMichael Hafen <michael.hafen@washk12.org>
Tue, 20 Jul 2021 18:12:42 +0000 (12:12 -0600)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 23 Jun 2023 13:01:07 +0000 (10:01 -0300)
commit79f8e148af7f7f84ccf43334e73e14f919157edd
tree9a03f43bc03b2f5c7d7647cdab1e6cee6ab2b11e
parente2e236fa9eae3954b75afc8919f5ad18baf9d8a6
Bug 28726: Add sort1 and sort2 to patron card creator - patron search.

Also adds a select all / clear all and checkboxes.

Test plan:

1. start a new batch in the patron card creator (Tools -> Patron card creator -> New -> card batch)
2. click the Add patron(s) button.  Observe that Category and Library are the only options.
3. Close search for patron window.
4. Apply patch.
5. click the Add patron(s) button.  Observe that you can now search for patrons by their sort1 and sort2 values.
6. perform a search and observe the 'Select all | Clear all | Add selected patrons' links and button.
7. use the Select all link to select all the patrons found by the search.
8. use the Add selected patrons button to add the selected patrons to the card batch's Add by borrowernumber(s) text input field.
9. close the search for patron window.

Signed-off-by: Solene Ngamga <solene.ngamga@inLibro.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc
koha-tmpl/intranet-tmpl/prog/en/modules/members/search.tt
koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/edit-batch.tt