mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-10-18 22:08:14 +00:00
Fixhancement: trim whitespace for some text searches (#11357)
This commit is contained in:
1 parent
005ef4fce6
commit
0219df5b67
4 files changed
+23
-3
No files matched your search
@@ -747,7 +747,7 @@ export class FilterEditorComponent
|
||||
) {
|
||||
filterRules.push({
|
||||
rule_type: FILTER_TITLE_CONTENT,
|
||||
value: this._textFilter,
|
||||
value: this._textFilter.trim(),
|
||||
})
|
||||
}
|
||||
if (this._textFilter && this.textFilterTarget == TEXT_FILTER_TARGET_TITLE) {
|
||||
@@ -805,7 +805,7 @@ export class FilterEditorComponent
|
||||
) {
|
||||
filterRules.push({
|
||||
rule_type: FILTER_FULLTEXT_QUERY,
|
||||
value: this._textFilter,
|
||||
value: this._textFilter.trim(),
|
||||
})
|
||||
}
|
||||
if (
|
||||
|
||||
Reference in new issue
Block a user