diff --git a/templates/web/prod/thesaurus.js.twig b/templates/web/prod/thesaurus.js.twig index 541f35ed78..8dad9477c9 100644 --- a/templates/web/prod/thesaurus.js.twig +++ b/templates/web/prod/thesaurus.js.twig @@ -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(); diff --git a/www/skins/client/jquery.p4client.1.0.js b/www/skins/client/jquery.p4client.1.0.js index c7e9fe28bf..37f70b6275 100644 --- a/www/skins/client/jquery.p4client.1.0.js +++ b/www/skins/client/jquery.p4client.1.0.js @@ -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; } -