projects
/
pazpar2-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
15e9beb
)
clear simple query was missing
author
Jakub Skoczen
<jakub@indexdata.dk>
Wed, 13 Jun 2007 17:25:02 +0000
(17:25 +0000)
committer
Jakub Skoczen
<jakub@indexdata.dk>
Wed, 13 Jun 2007 17:25:02 +0000
(17:25 +0000)
js/pz2.js
patch
|
blob
|
history
diff --git
a/js/pz2.js
b/js/pz2.js
index
046b29b
..
a925994
100644
(file)
--- 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};