[OPEN-ILS-DEV] Fwd: [open-ils-commits] r10632 - trunk/Open-ILS/web/opac/skin/default/js

Dan Scott denials at gmail.com
Thu Sep 18 09:42:54 EDT 2008


Quick thought before hopping on the bike:

Would it make sense to perform the substitution on the server side
(biblio_search_issn() in
Open-ILS/src/perlmods/OpenILS/Application/Search/Biblio.pm ) so that
the OPAC behaviour will be consistent with an invocation of the
service by any other means?

---------- Forwarded message ----------
From:  <svn at svn.open-ils.org>
Date: 2008/9/18
Subject: [open-ils-commits] r10632 - trunk/Open-ILS/web/opac/skin/default/js
To: open-ils-commits at list.georgialibraries.org


Author: erickson
Date: 2008-09-18 08:51:05 -0400 (Thu, 18 Sep 2008)
New Revision: 10632

Modified:
  trunk/Open-ILS/web/opac/skin/default/js/rresult.js
Log:
replace - with spaces in ISSN search

Modified: trunk/Open-ILS/web/opac/skin/default/js/rresult.js
===================================================================
--- trunk/Open-ILS/web/opac/skin/default/js/rresult.js  2008-09-18
12:50:56 UTC (rev 10631)
+++ trunk/Open-ILS/web/opac/skin/default/js/rresult.js  2008-09-18
12:51:05 UTC (rev 10632)
@@ -188,7 +188,7 @@
 }

 function rresultCollectISSNIds() {
-       var req = new Request(FETCH_ADV_ISSN_RIDS, getAdvTerm() );
+    var req = new Request(FETCH_ADV_ISSN_RIDS,
(getAdvTerm()+'').replace(/-/g,' '));
       req.callback(
               function(r) {
                       var blob = r.getResultObject();

_______________________________________________
open-ils-commits mailing list
open-ils-commits at list.georgialibraries.org
http://list.georgialibraries.org/mailman/listinfo/open-ils-commits



-- 
Dan Scott
Laurentian University


More information about the Open-ils-dev mailing list