[open-ils-commits] r10745 - in trunk/Open-ILS/web/opac: common/js
skin/default/js
svn at svn.open-ils.org
svn at svn.open-ils.org
Wed Oct 1 13:17:39 EDT 2008
Author: erickson
Date: 2008-10-01 13:17:36 -0400 (Wed, 01 Oct 2008)
New Revision: 10745
Modified:
trunk/Open-ILS/web/opac/common/js/config.js
trunk/Open-ILS/web/opac/skin/default/js/adv_global.js
Log:
added url param that, if present, prevents search propogation to the advanced search interface
Modified: trunk/Open-ILS/web/opac/common/js/config.js
===================================================================
--- trunk/Open-ILS/web/opac/common/js/config.js 2008-10-01 16:56:52 UTC (rev 10744)
+++ trunk/Open-ILS/web/opac/common/js/config.js 2008-10-01 17:17:36 UTC (rev 10745)
@@ -43,6 +43,7 @@
var PARAM_PUBD_AFTER = 'pda';
var PARAM_PUBD_BETWEEN = 'pdt';
var PARAM_PUBD_DURING = 'pdd';
+var PARAM_NOPERSIST_SEARCH = 'nps';
/* URL param values (see comments above) */
var TERM;
Modified: trunk/Open-ILS/web/opac/skin/default/js/adv_global.js
===================================================================
--- trunk/Open-ILS/web/opac/skin/default/js/adv_global.js 2008-10-01 16:56:52 UTC (rev 10744)
+++ trunk/Open-ILS/web/opac/skin/default/js/adv_global.js 2008-10-01 17:17:36 UTC (rev 10745)
@@ -53,7 +53,8 @@
// since other filters are not propogated
//advInitPubFilter();
- initSearchBoxes();
+ if(!new CGI().param(PARAM_NOPERSIST_SEARCH))
+ initSearchBoxes();
advSyncCopyLocLink(getLocation());
}
More information about the open-ils-commits
mailing list