Fix: set search term when using advanced search from global search (#11503)

This commit is contained in:
shamoon 2025-11-30 07:20:24 -08:00 committed by GitHub
parent 0c43b50f01
commit 4632ad3a36
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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 },
])