@indice/ng-components 0.2.167-beta.32 → 0.2.167-beta.34
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2020/lib/controls/advanced-search/advanced-search.component.mjs +7 -1
- package/fesm2015/indice-ng-components.mjs +6 -0
- package/fesm2015/indice-ng-components.mjs.map +1 -1
- package/fesm2020/indice-ng-components.mjs +6 -0
- package/fesm2020/indice-ng-components.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -1302,6 +1302,12 @@ class AdvancedSearchComponent {
|
|
|
1302
1302
|
return f.member !== this.selectedField.field;
|
|
1303
1303
|
});
|
|
1304
1304
|
}
|
|
1305
|
+
else { // selectedField is multiTerm: just checking if we already have the newly selected filterClause in filters
|
|
1306
|
+
const isDuplicate = this.filters.some(f => f.toString() === filterClause.toString());
|
|
1307
|
+
if (isDuplicate) {
|
|
1308
|
+
return;
|
|
1309
|
+
}
|
|
1310
|
+
}
|
|
1305
1311
|
this.filters.push(filterClause);
|
|
1306
1312
|
this.fieldValue = undefined;
|
|
1307
1313
|
}
|