From 607bc610968c1840e1028f2193effa9cb96cafda Mon Sep 17 00:00:00 2001 From: Jakub Skoczen Date: Wed, 13 Jun 2007 17:25:02 +0000 Subject: [PATCH] clear simple query was missing --- js/pz2.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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}; -- 1.7.10.4