]> git.evergreen-ils.org Git - Evergreen.git/commit
LP#1939154: allow clearing default pickup lib in AngularJS patron editor
authorGalen Charlton <gmc@equinoxOLI.org>
Thu, 25 Jan 2024 15:36:24 +0000 (10:36 -0500)
committerJason Boyer <JBoyer@equinoxOLI.org>
Wed, 31 Jan 2024 15:41:45 +0000 (10:41 -0500)
commit4197cc3b154a913c8a5e8b524d994fe0b449b61d
treee63e66a79b79c3366a95dd3813f5338460714343
parenta1f5cfefc05fa24b340eddd0454b3f61099ebb12
LP#1939154: allow clearing default pickup lib in AngularJS patron editor

This patch adds a "Clear Default Hold Pickup Location" button
to enable removing that user-setting. This works around an issue
with the AngularJS OU selector where it doesn't pass an event
to signify to calling code that the user has de-selected any OUs.

To test
-------
[1] Apply the patch.
[2] Use the AngularJS editor to add and clear the default
    pickup library for a patron.
[3] Verify that the changes are saved and displayed as
    expected.

Release-note: Enable clearing the default pickup location in the patron editor.

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Signed-off-by: Jane Sandberg <sandbergja@gmail.com>
Signed-off-by: Jason Boyer <JBoyer@equinoxOLI.org>
Open-ILS/src/templates/staff/circ/patron/t_edit.tt2
Open-ILS/web/js/ui/default/staff/circ/patron/regctl.js