Simple query should not put "" around terms. It messes with CCL and-list logic
authorSebastian Hammer <quinn@indexdata.com>
Fri, 13 Apr 2007 16:06:08 +0000 (16:06 +0000)
committerSebastian Hammer <quinn@indexdata.com>
Fri, 13 Apr 2007 16:06:08 +0000 (16:06 +0000)
www/masterkey/js/pzQuery.js

index 57cf9e0..1d1ce10 100644 (file)
@@ -64,7 +64,7 @@ pzQuery.prototype = {
         // TODO escape the characters
         var ccl = '';
         if( this.simpleQuery != '')
-            ccl = '"'+this.simpleQuery+'"';
+            ccl = this.simpleQuery;
         for(var i = 0; i < this.advTerms.length; i++)
         {
             if (ccl != '') ccl = ccl + ' and ';