LP#1759382 Setting: staff placed holds default to workstation user/dbriem/lp1759382_staff_placed_holds_default_to_ws
authorDan Briem <dbriem@wlsmail.org>
Wed, 25 Aug 2021 14:24:12 +0000 (10:24 -0400)
committerDan Briem <dbriem@wlsmail.org>
Wed, 25 Aug 2021 14:24:12 +0000 (10:24 -0400)
commit621195743f57b2bff2d671652ff58503df9d608e
tree32ffc46bb77ede33a6415b34a1ead05c28efe230
parent60fb007312c9cd3b88f4be9af3c68621a6df5a22
LP#1759382 Setting: staff placed holds default to workstation

New org unit setting to always default the pickup location to
the workstation when placing holds as staff, regardless of the
patron's preferred pickup location.

The setting applies to staff placed holds in the Angular and
traditional catalogs.

Priority for determining the default pickup location when
placing holds as staff:

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/hold/hold.component.ts
Open-ILS/src/eg2/src/app/staff/catalog/resolver.service.ts
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