From: Jakub Skoczen Date: Wed, 13 Jun 2007 17:25:02 +0000 (+0000) Subject: clear simple query was missing X-Git-Tag: PAZPAR2.1.0.0~50 X-Git-Url: http://git.indexdata.com/?p=pazpar2-moved-to-github.git;a=commitdiff_plain;h=607bc610968c1840e1028f2193effa9cb96cafda clear simple query was missing --- diff --git a/js/pz2.js b/js/pz2.js index 046b29b..a925994 100644 --- a/js/pz2.js +++ b/js/pz2.js @@ -1,5 +1,5 @@ /* -** $Id: pz2.js,v 1.35 2007-06-13 17:20:17 jakub Exp $ +** $Id: pz2.js,v 1.36 2007-06-13 17:25:02 jakub Exp $ ** pz2.js - pazpar2's javascript client library. */ @@ -634,6 +634,10 @@ pzQuery.prototype = { this.simpleFilter = null; this.numTerms = 0; }, + clearSimpleQuery: function() + { + this.simpleQuery = ''; + }, addTerm: function(field, value) { var term = {"field": field, "value": value};