Merge branch
This commit is contained in:
commit
27d61b19e8
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue