]> git.evergreen-ils.org Git - Evergreen.git/commit
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)
committerMike Rylander <mrylander@gmail.com>
Tue, 20 Mar 2012 17:15:33 +0000 (13:15 -0400)
commit790ef0cc223107bf5085fa41517fd5c737c6c817
treed1206ec8e2124401b445b181bbf3dbfb9fec1d29
parent2ec4e2d7fb76584c1869d84a0b36bf4c26ddb1e2
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>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Open-ILS/web/opac/skin/default/js/search_bar.js