mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-06 06:45:05 +01:00
Fix: set search term when using advanced search from global search (#11503)
This commit is contained in:
parent
0c43b50f01
commit
4632ad3a36
1 changed files with 3 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue