LP#1759382 Setting: staff placed holds default to workstation user/dbriem/lp1759382_staff_placed_holds_default_to_ws_ou
authorDan Briem <dbriem@wlsmail.org>
Fri, 13 Aug 2021 15:18:11 +0000 (11:18 -0400)
committerDan Briem <dbriem@wlsmail.org>
Fri, 13 Aug 2021 15:18:11 +0000 (11:18 -0400)
commitb755aa4c34fa3e1ed0317d078a155d4ef8ee40a8
treee0db00a061a51514e1bf967af545707b156cdc32
parentecfc8a7b4fc91064f334ce557f76385569927b67
LP#1759382 Setting: staff placed holds default to workstation

New org unit setting for always using the staff's workstation as
the default pickup location for staff placed holds, even if the
user has a preferred pickup location set in their account.

The setting applies on staff placed holds in the Angular and
Traditional/Bootstrap catalog. This includes hold group holds.

If this helps when testing, this is the priority order for
determining the default pickup location:

1. workstation if circ.staff_placed_holds_default_to_ws_ou
2. user preferred location if opac.default_pickup_location
3. workstation if circ.staff_placed_holds_fallback_to_ws_ou
4. user home org unit

Signed-off-by: Dan Briem <dbriem@wlsmail.org>
Open-ILS/src/eg2/src/app/staff/catalog/resolver.service.ts
Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Holds.pm
Open-ILS/src/sql/Pg/950.data.seed-values.sql
Open-ILS/src/sql/Pg/upgrade/xxxx.data.staff_placed_holds_default_to_ws_ou.sql [new file with mode: 0644]
Open-ILS/web/js/ui/default/opac/staff.js
Open-ILS/web/js/ui/default/staff/services/eframe.js