Merge branch

This commit is contained in:
Alex Martzios 2021-11-18 17:41:42 +02:00
commit 27d61b19e8
1 changed files with 6 additions and 4 deletions

View File

@ -1019,11 +1019,13 @@ export class NewSearchPageComponent {
let filterOp: string = this.searchFieldsHelper.getFieldOperator(filterId);
// console.info(filterId, filterOp);
for (let value of values) {
if(value && value.length > 0){
countvalues++;
var paramId = this.fieldIdsMap[filterId].param;
// parameters+='&' + paramId+ '='+ value;//+"&" + this.fieldIdsMap[paramId].operator + "="+((countvalues == 1)?"and":"or");
fq += (fq.length > 0 ? " " + filterOp + " " : "") + filterId + " exact " + (value);
}
}
if (countvalues > 0) {
fq = "&fq=" + StringUtils.URIEncode(fq);
}