From: Sebastian Hammer Date: Fri, 13 Apr 2007 16:06:08 +0000 (+0000) Subject: Simple query should not put "" around terms. It messes with CCL and-list logic X-Git-Tag: PAZPAR2.1.0.0~304 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=8f3a05817966a7abe504e311122289413f51fdfa;p=pazpar2-moved-to-github.git Simple query should not put "" around terms. It messes with CCL and-list logic --- diff --git a/www/masterkey/js/pzQuery.js b/www/masterkey/js/pzQuery.js index 57cf9e0..1d1ce10 100644 --- a/www/masterkey/js/pzQuery.js +++ b/www/masterkey/js/pzQuery.js @@ -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 ';