turning apos into space, but retaining for display where possible
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 7 Sep 2006 02:00:15 +0000 (02:00 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 7 Sep 2006 02:00:15 +0000 (02:00 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@6011 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/web/opac/skin/default/js/adv_global.js
Open-ILS/web/opac/skin/default/js/result_common.js
Open-ILS/web/opac/skin/default/js/search_bar.js

index 3faa547..b83d6f7 100644 (file)
@@ -176,7 +176,7 @@ function advBuildSearchBlob() {
                                break;
                }
                if(string) {
-                       string = string.replace(/'/,'');
+                       string = string.replace(/'/,' ');
                        searches[stype].term = string;
                }
        }
index 865acb9..a226fb1 100644 (file)
@@ -45,7 +45,7 @@ function resultCollectSearchIds( type, method, handler ) {
                args.searches[getStype()] = {};
                var term = getTerm();
                if( term ) {
-                       term = term.replace(/'/,'');
+                       term = term.replace(/'/,' ');
                        args.searches[getStype()].term = term;
                }
 
index 9dfac6e..335720d 100644 (file)
@@ -53,7 +53,7 @@ function searchBarSubmit() {
        var d   = (newSearchDepth != null) ?  newSearchDepth : depthSelGetDepth();
        if(isNaN(d)) d = 0;
 
-       text = text.replace(/'/,'');
+       //text = text.replace(/'/,'');
 
        var args = {};