LP1917944-Hold Pickup Library sometimes Empty
authorGarry Collum <gcollum@gmail.com>
Thu, 18 Mar 2021 19:56:04 +0000 (15:56 -0400)
committerGalen Charlton <gmc@equinoxOLI.org>
Fri, 14 May 2021 21:27:10 +0000 (17:27 -0400)
commitbd710c35cac2c3c39b7c9fe459768ebe87ba8d2d
tree237f4b8bcc86fbdb5c94a5c2693244deb2efafff
parent13ac1eb4d9b71c99a4496d80a90ad074d4444047
LP1917944-Hold Pickup Library sometimes Empty

Checks to make sure that the opac.default_pickup_location in usr_setting
has a value.

To test.
1. The patron must have a opac.default_pickup_location set to ""
2. Place a hold for this patron.
3. Notice that the pickup location is blank.
4. Apply the patch.
5. The hold pickup location should now be filled with the patron's home library.

To re-create this in concerto you may have to tweak the usr_setting table.
1. Assign a default pickup location to a patron.
2. Find the id field for the above in the usr_setting table.
   select * from actor.usr_setting;
3. Update the setting.
   update actor.usr_setting set value = '""' where id = <the id number>;

Signed-off-by: Garry Collum <gcollum@gmail.com>
Signed-off-by: Michele Morgan <mmorgan@noblenet.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Open-ILS/src/eg2/src/app/staff/catalog/hold/hold.component.ts