LP#1712637 Patron edit hold pickup location repairs
authorBill Erickson <berickxx@gmail.com>
Thu, 14 Sep 2017 22:09:08 +0000 (18:09 -0400)
committerKathy Lussier <klussier@masslnc.org>
Mon, 18 Sep 2017 15:11:32 +0000 (11:11 -0400)
commitd705d616ef0f6e07c803a8d16e30a8f9ba9f24c4
tree8055bbb64f8a0be004c53d685ba2591507f4f3bf
parent10c578a66cc9814045e5576d9c6d941d7aed5b0f
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