@arsedizioni/ars-utils 20.4.14 → 20.4.15
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.
|
@@ -3488,9 +3488,11 @@ class ClipperBrowserComponent extends ClipperSearchResultManager {
|
|
|
3488
3488
|
* Clear current filter params
|
|
3489
3489
|
*/
|
|
3490
3490
|
clearFilter() {
|
|
3491
|
-
const modules = this.filterParams.modules;
|
|
3492
3491
|
ClipperSearchUtils.clear(this.filterParams);
|
|
3493
|
-
this.
|
|
3492
|
+
const module = this.modules().find(x => x.value === ClipperModule.NormativaVigente);
|
|
3493
|
+
if (module) {
|
|
3494
|
+
this.filterParams.modules = [module];
|
|
3495
|
+
}
|
|
3494
3496
|
this.filterSelector()?.reset();
|
|
3495
3497
|
this.filterParams.searchId = undefined;
|
|
3496
3498
|
this.filterParams.searchName = undefined;
|