mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-18 07:23:13 +00:00
Merge pull request #1579 from nmaillat/new-grammar-candidat
candidat's query compliant with new grammar
This commit is contained in:
@@ -775,7 +775,7 @@ function doThesSearch(type, sbid, term, field)
|
||||
if(type=='T')
|
||||
v = '[' + term + ']';
|
||||
else
|
||||
v = '"' + term + '" IN ' + field;
|
||||
v = field + '="' + term + '"';
|
||||
selectedFacetValues = [];
|
||||
$('#EDIT_query').val(v);
|
||||
checkFilters();
|
||||
|
@@ -576,7 +576,7 @@ function doThesSearch(type, sbid, term, field) {
|
||||
if (type == 'T')
|
||||
v = '*:"' + term.replace("(", "[").replace(")", "]") + '"';
|
||||
else
|
||||
v = '"' + term + '" IN ' + field;
|
||||
v = field '="' + term + '"';
|
||||
doSpecialSearch(v, true);
|
||||
}
|
||||
|
||||
@@ -963,4 +963,3 @@ function execLastAct(lastAct) {
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user