mirror of
https://github.com/apache/lucene.git
synced 2025-03-03 06:49:38 +00:00
AND-ed query was being appended to the original one.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150989 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
a2871ae443
commit
cd10939321
@ -109,7 +109,9 @@ function doMakeQuery( query, dbg )
|
||||
// @return Submits the form if submitOnConstruction=true, else returns the query param
|
||||
function doANDTerms(query)
|
||||
{
|
||||
appendTerms(query, AND_MODIFIER, query.value);
|
||||
var value = query.value;
|
||||
query.value = "";
|
||||
appendTerms(query, AND_MODIFIER, value);
|
||||
if(submitForm)
|
||||
{
|
||||
frm.submit();
|
||||
|
Loading…
x
Reference in New Issue
Block a user