[open-ils-commits] r829 - conifer/branches/rel_1_6_0/web/opac/skin/default/js (dbs)
svn at svn.open-ils.org
svn at svn.open-ils.org
Thu Mar 11 16:51:41 EST 2010
Author: dbs
Date: 2010-03-11 16:51:35 -0500 (Thu, 11 Mar 2010)
New Revision: 829
Modified:
conifer/branches/rel_1_6_0/web/opac/skin/default/js/result_common.js
Log:
Replace _all_ of those spaces, mmmkay?
Modified: conifer/branches/rel_1_6_0/web/opac/skin/default/js/result_common.js
===================================================================
--- conifer/branches/rel_1_6_0/web/opac/skin/default/js/result_common.js 2010-03-11 21:10:43 UTC (rev 828)
+++ conifer/branches/rel_1_6_0/web/opac/skin/default/js/result_common.js 2010-03-11 21:51:35 UTC (rev 829)
@@ -287,7 +287,7 @@
var ebook_search = localProxyPrefix + 'http://books.scholarsportal.info/search.html?searchField=All+Fields&limit=full_text&sortBy=relevance&collection=all&searchTerm=';
var ebook_terms = '';
for (var key in resultCompiledSearch.searches) {
- ebook_search += resultCompiledSearch.searches[key].term.replace(' ', '+') + '+';
+ ebook_search += resultCompiledSearch.searches[key].term.replace(/ /g, '+') + '+';
ebook_terms += resultCompiledSearch.searches[key].term + ' ';
}
ebook_search.replace('+$', '');
More information about the open-ils-commits
mailing list