mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-13 01:57:08 +01:00
Updated to work with new unified search interface
This commit is contained in:
parent
8226a8793e
commit
3d0891c73b
2 changed files with 9 additions and 11 deletions
|
|
@ -290,9 +290,12 @@ export class FilterEditorComponent implements OnInit, OnDestroy {
|
|||
distinctUntilChanged()
|
||||
).subscribe(text => {
|
||||
this._textFilter = text
|
||||
this.documentService.setSearchQuery(text)
|
||||
this.documentService.searchQuery = text
|
||||
this.updateRules()
|
||||
})
|
||||
|
||||
if (this._textFilter) this.documentService.searchQuery = this._textFilter
|
||||
|
||||
}
|
||||
|
||||
ngOnDestroy() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue