Skip to content

A community-supported supercharged document management system: scan, index and archive all your documents

Merge remote-tracking branch 'upstream/dev' into feature/issue-858

Michael Shamoon8226a8793eb5
diff --cc src-ui/src/app/components/document-list/filter-editor/filter-editor.component.ts
index c1b0f509a,777c92e07..b693c55ec
--- a/src-ui/src/app/components/document-list/filter-editor/filter-editor.component.ts
+++ b/src-ui/src/app/components/document-list/filter-editor/filter-editor.component.ts
@@@ -97,8 -112,23 +112,23 @@@ export class FilterEditorComponent impl
dateAddedBefore: string
dateAddedAfter: string
+ _unmodifiedFilterRules: FilterRule[] = []
+ _filterRules: FilterRule[] = []
+
+ @Input()
+ set unmodifiedFilterRules(value: FilterRule[]) {
+ this._unmodifiedFilterRules = value
+ this.checkIfRulesHaveChanged()
+ }
+
+ get unmodifiedFilterRules(): FilterRule[] {
+ return this._unmodifiedFilterRules
+ }
+
@Input()
set filterRules (value: FilterRule[]) {
+ this._filterRules = value
-
++
this.documentTypeSelectionModel.clear(false)
this.tagSelectionModel.clear(false)
this.correspondentSelectionModel.clear(false)