LP#1712637 Patron edit hold pickup location repairs user/berick/lp1712637-webstaff-def-pickup-loc
authorBill Erickson <berickxx@gmail.com>
Thu, 14 Sep 2017 22:09:08 +0000 (18:09 -0400)
committerBill Erickson <berickxx@gmail.com>
Fri, 15 Sep 2017 14:39:57 +0000 (10:39 -0400)
commit00e7c2e2c648ea40e9511d57367bc4f1d5bfa296
treeee478499296908913a569ee0012157aef9f5ad70
parent461072dd9bfc2db3e23f2afd6fa0cc1f2e5f0663
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>
Open-ILS/src/templates/staff/circ/patron/t_edit.tt2
Open-ILS/web/js/ui/default/staff/circ/patron/regctl.js