From 8072aa01dfce99fcef6e4a0b8540ff611f3c26aa Mon Sep 17 00:00:00 2001 From: Jakub Skoczen Date: Thu, 31 May 2007 08:46:32 +0000 Subject: [PATCH] Simple query was unesesary escaped with quotes. --- js/pz2.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/pz2.js b/js/pz2.js index 885a664..e2025d0 100644 --- a/js/pz2.js +++ b/js/pz2.js @@ -1,5 +1,5 @@ /* -** $Id: pz2.js,v 1.21 2007-05-23 09:18:10 jakub Exp $ +** $Id: pz2.js,v 1.22 2007-05-31 08:46:32 jakub Exp $ ** pz2.js - pazpar2's javascript client library. */ @@ -651,7 +651,7 @@ pzQuery.prototype = { { 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 '; -- 1.7.10.4