LP1282301] Staff Client search scope user/ldw/LP1282301_staff_client_search_preferences
authorLiam Whalen <liam.whalen@bc.libraries.coop>
Fri, 18 Oct 2013 20:30:44 +0000 (13:30 -0700)
committerLiam Whalen <whalen.ld@gmail.com>
Mon, 10 Mar 2014 20:45:57 +0000 (13:45 -0700)
commit900ba8136491915939c1f0708034d88ceba23a61
treedec890f61979ae11e1886d1843be71b49f67ab1b
parentb9f8c5bcd24ccbda14210d9700d3404cb78ede16
LP1282301] Staff Client search scope

For the ctx.search_ou to be the value
stored in the staff client if the user is connecting via the staff
client, then force the search to change scope back to this value
whenever the Staff Client vists the advanced or home pages.

When clicking the Refine your search link, the search libraray was being
changed to the library from the workstation preferences.  This does not
make sense when refining a search.  In these instances, the search
library should be the current library being searched.

(sitka) [rt17328] Only menu searches use pref lib

Make only the menu searches use the pref lib.

This adds a menu_search=1 to the URL requested via the staff client when
the menu options for Search -> Search the Catalgoue, Cataloguing ->
Palce Hold, or Cataloguing -> Search the Catalogue are chosen.

This new variable is checked as a cgi parameter in Util.pm to determine
if the search lib should be set to the pref lib.

Conflicts:

Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Util.pm

Conflicts:

Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Util.pm
Open-ILS/src/templates/opac/parts/advanced/search.tt2

LP1282301 Added changes to searchbar*.tt2

The same changes made to the other serach interfaces were made to
serachbar.tt2 and searchbar_staff.tt2.  As well, some alerts used in
testing were removed.

Conflicts:

Open-ILS/src/templates/opac/parts/searchbar.tt2
Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Util.pm
Open-ILS/src/templates/opac/parts/advanced/expert.tt2
Open-ILS/src/templates/opac/parts/advanced/numeric.tt2
Open-ILS/src/templates/opac/parts/searchbar.tt2
Open-ILS/xul/staff_client/chrome/content/cat/opac.js
Open-ILS/xul/staff_client/chrome/content/main/menu.js