LP#1887876 Checkout catalog doesn't load workstation prefs
authorDan Briem <dbriem@wlsmail.org>
Fri, 17 Jul 2020 03:39:09 +0000 (23:39 -0400)
committerGalen Charlton <gmc@equinoxOLI.org>
Tue, 8 Jun 2021 15:38:27 +0000 (11:38 -0400)
commitb376e5ef16c34c8149e2682622ee1a2784d3f7bf
tree9cb28ee50ab70d2a32fe19c6368bab44deac005f
parent7cc12b7af0521602af065a8b5c4defeb72997fd9
LP#1887876 Checkout catalog doesn't load workstation prefs

The catalog under the Holds tab in the Checkout interface
doesn't load the default search or preferred library if
you haven't visited the main catalog page earlier in the
session.

This branch sets these settings as cookies in the
AngularJS wrapper for the catalog embedded in the Checkout
interface under the Holds tab.

Test:
1. Close browser, open browser, log into Evergreen
2. Admin->Workstation set search & preferred library
3. Open a patron record -> Holds tab -> Place Holds
4. Search for an item owned by your preferred library
5. Note the library's copies aren't separately indicated
6. Apply patch and repeat steps 1-5
7. Note the library's copies are separately indicated

Signed-off-by: Dan Briem <dbriem@wlsmail.org>
Signed-off-by: Gina Monti <gmonti@biblio.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Open-ILS/web/js/ui/default/staff/circ/patron/holds.js