shortened URL param names to keep the URL's from getting so long
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 23 Nov 2005 15:10:38 +0000 (15:10 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 23 Nov 2005 15:10:38 +0000 (15:10 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@2119 dcc99617-32d9-48b4-a31d-7c20da2025e4

Evergreen/staff_client/chrome/content/evergreen/opac/opac.js
Open-ILS/web/opac/common/js/config.js

index 5121985..b9f2295 100644 (file)
@@ -59,7 +59,7 @@ function opac_init(p) {
        p.opac_iframe = p.w.document.getElementById('opac_opac_iframe');
        p.opac_iframe.addProgressListener(p.opac_progressListener, 
                Components.interfaces.nsIWebProgress.NOTIFY_ALL );
-       p.opac_iframe.setAttribute("src", OPAC_URL + '?location=' + mw.G.user.home_ou()) 
+       p.opac_iframe.setAttribute("src", OPAC_URL + '?l=' + mw.G.user.home_ou()) 
 }
 
 /* shoves data into the OPAC's space */
index 0deadbe..faabac8 100644 (file)
@@ -1,18 +1,18 @@
 /* Export some constants  ----------------------------------------------------- */
 
 /* URL param names */
-var PARAM_TERM                 = "term";               /* search term */
-var PARAM_STYPE                = "stype";              /* search type */
-var PARAM_LOCATION     = "location"    /* current location */;
-var PARAM_DEPTH                = "depth";              /* search depth */
-var PARAM_FORM                 = "format";             /* search format */
-var PARAM_OFFSET               = "offset";             /* search offset */
-var PARAM_COUNT                = "count";              /* hits per page */
-var PARAM_HITCOUNT     = "hitcount";   /* hits per page */
-var PARAM_MRID                 = "mrid";               /* metarecord id */
-var PARAM_RID                  = "rid";                        /* record id */
-var PARAM_ORIGLOC              = "orgloc"              /* the original location */
-var PARAM_TOPRANK              = "toprank"             /* this highest ranking rank */
+var PARAM_TERM                 = "t";                  /* search term */
+var PARAM_STYPE                = "tp";                 /* search type */
+var PARAM_LOCATION     = "l";                  /* current location */
+var PARAM_DEPTH                = "d";                  /* search depth */
+var PARAM_FORM                 = "f";                  /* search format */
+var PARAM_OFFSET               = "o";                  /* search offset */
+var PARAM_COUNT                = "c";                  /* hits per page */
+var PARAM_HITCOUNT     = "hc";                 /* hits per page */
+var PARAM_MRID                 = "m";                  /* metarecord id */
+var PARAM_RID                  = "r";                  /* record id */
+var PARAM_ORIGLOC              = "ol"                  /* the original location */
+var PARAM_TOPRANK              = "tr"                  /* this highest ranking rank */
 
 /* URL param values (see comments above) */
 var TERM;