mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-10 07:05:17 -05:00
Fix: set search term when using advanced search from global search (#11503)
This commit is contained in:
parent
0c43b50f01
commit
4632ad3a36
@ -411,6 +411,9 @@ export class GlobalSearchComponent implements OnInit {
|
||||
const ruleType = this.useAdvancedForFullSearch
|
||||
? FILTER_FULLTEXT_QUERY
|
||||
: FILTER_TITLE_CONTENT
|
||||
this.documentService.searchQuery = this.useAdvancedForFullSearch
|
||||
? this.query
|
||||
: ''
|
||||
this.documentListViewService.quickFilter([
|
||||
{ rule_type: ruleType, value: this.query },
|
||||
])
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user