webstaff: implement some workstation preferences
authorGalen Charlton <gmc@esilibrary.com>
Mon, 17 Oct 2016 21:34:30 +0000 (17:34 -0400)
committerGalen Charlton <gmc@esilibrary.com>
Mon, 17 Oct 2016 21:34:30 +0000 (17:34 -0400)
commit306aa037ef931acb1f7baac4db4fb6feadf0ec13
treef0fa317cddebc024138aa1844176f2f41cb91613
parent3f31d40bc6438b08d0153b25aca9d292bd814ed3
webstaff: implement some workstation preferences

- Default search library
- Preferred library
- Advanced search pane

Because AngularJS has no way of adding HTTP request headers to
user interactions with the contents of an iframe, the search
library and preferred library are passed to TPAC via two new
session cookies, eg_pref_lib and eg_search_lib.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Util.pm
Open-ILS/src/templates/staff/admin/workstation/t_splash.tt2
Open-ILS/web/js/ui/default/staff/admin/workstation/app.js
Open-ILS/web/js/ui/default/staff/cat/catalog/app.js