[Koha-bugs] [Bug 16446] Allow librarians to add borrowers to patron lists by borrowernumber

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Aug 27 14:49:52 CEST 2021


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16446

--- Comment #4 from Nick Clemens <nick at bywatersolutions.com> ---
Created attachment 124177
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=124177&action=edit
Bug 16446: Add ability to add patrons to list by borrowernumber

AddPatronsToList already took a borrowernumber parameter, however, it
did not check if those were valid numbers. This patch expands the search
to apply to cardnumber or borrowernumbers in the subroutine.

Template and script are adjusted to allow choosing borrowernumbers or
cardnumbers

To test:
1 - Apply patch
2 - Browse to Tools->Patron lists
3 - Create a list, or choose Actions->Add patrons for an existing list
4 - Click 'Add multiple patrons'
5 - Cardnumbers is preselected
6 - Enter a list of cardnumbers, ensure you test:
    Cardnumber already in list
    Cardnumber not in list
    Non-existent cardnumber
7 - Patrons should be added/errors reported correctly
8 - Repeat with borowernumbers

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list