When sorting a search results set the isFilterSort variable is passed
authorLiam Whalen <lwhalen@evergreen-dev.catalogue.nrcan.gc.ca>
Tue, 1 Nov 2011 18:18:32 +0000 (14:18 -0400)
committerJason Stephenson <jstephenson@mvlc.org>
Thu, 2 Feb 2012 15:08:18 +0000 (10:08 -0500)
commitef1211724dc9e6257024f9d39faa39e05ab5584a
tree667171920e980f02724098f07b60fbbb9eeff3ac
parent3391572ff63fab77b163b3567aaa04599ebe4430
When sorting a search results set the isFilterSort variable is passed
to searchBarSubmit.  In side searchBarSumbit there is a call to the
opac_utils.js function clearSearchParams function.  This removes all
search paramaters when sorting a result set, which is not the desired
effect.  I have wraped clearSearchParams in a check to make sure
isFilterSort is not set before calling the clearSearchParams function,
and this check ensures that the current search's paramaters are passed
to sort operations.

Signed-off-by: Liam Whalen <lwhalen@evergreen-dev.catalogue.nrcan.gc.ca>
Signed-off-by: Jason Stephenson <jason@sigio.com>
Open-ILS/web/opac/skin/default/js/search_bar.js