Fix: reset search query for preview on reset filter (#10279)

This commit is contained in:
shamoon 2025-06-27 14:36:38 -07:00 committed by GitHub
parent 13fe064f6e
commit e312425b1c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1216,6 +1216,7 @@ export class FilterEditorComponent
resetSelected() { resetSelected() {
this.textFilterTarget = TEXT_FILTER_TARGET_TITLE_CONTENT this.textFilterTarget = TEXT_FILTER_TARGET_TITLE_CONTENT
this.documentService.searchQuery = ''
this.filterRules = this._unmodifiedFilterRules this.filterRules = this._unmodifiedFilterRules
this.updateRules() this.updateRules()
} }