LP#1712637 Patron edit hold pickup location repairs
authorBill Erickson <berickxx@gmail.com>
Thu, 14 Sep 2017 22:09:08 +0000 (18:09 -0400)
committerChris Sharp <csharp@georgialibraries.org>
Fri, 22 Sep 2017 18:33:39 +0000 (14:33 -0400)
commit5feef86e0b71552ae0740e5bc5dddcde0f8520aa
treedd180335a31f2459b4e1c7ece8272aac991ba8fb
parentae64a132804835239da54b669be6ad291e0e2f4d
LP#1712637 Patron edit hold pickup location repairs

1. Allow setting the hold pickup location independant of the home
   library.

2. Disable org units in the pickup lib selector that are not viable hold
   pickup locations (can_have_vols=f)

3. Consistent w/ the XUL client, allow a patron to be created without
   selecting a default pickup location.

To test:

[1] Register a new patron and confirm pickup location is initialy unset.
[2] Confirm pickup lib options are viable pickup locations.
[3] Apply a pickup location different from the home library and confirm
    the home library selector remains unchanged.
[4] Confirm saving the patron applies the expected pickup location value.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Open-ILS/src/templates/staff/circ/patron/t_edit.tt2
Open-ILS/web/js/ui/default/staff/circ/patron/regctl.js