ngx-wapp-components 1.3.5 → 1.3.7
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.
|
@@ -2616,11 +2616,11 @@ class WFilterPanelComponent {
|
|
|
2616
2616
|
if (this.storedQuery) {
|
|
2617
2617
|
let storedQueries = {
|
|
2618
2618
|
type: this.getQueryType(),
|
|
2619
|
-
basic: this.storedQuery?.basicQueryValue ? this.storedQuery?.basicQueryValue : null,
|
|
2620
|
-
advanced: this.storedQuery?.advancedQueryValue ? this.storedQuery?.advancedQueryValue : null,
|
|
2619
|
+
basic: this.storedQuery?.basicQueryValue ? Object.assign({}, this.storedQuery?.basicQueryValue) : null,
|
|
2620
|
+
advanced: this.storedQuery?.advancedQueryValue ? Object.assign({}, this.storedQuery?.advancedQueryValue) : null,
|
|
2621
2621
|
grouped: this.isAdvancedSearch && this.filterPanelObject.allowGrouped && this.groupedQueryCtrl ? Object.assign({}, this.groupedQueryCtrl?.value) : null
|
|
2622
2622
|
};
|
|
2623
|
-
|
|
2623
|
+
storedQueries = this.deleteFieldsWithoutValue(storedQueries);
|
|
2624
2624
|
storedQueries = this.handleEmptyFieldsQuery(storedQueries);
|
|
2625
2625
|
this.initialQuery.emit(storedQueries);
|
|
2626
2626
|
}
|