Fixhancement: trim whitespace for some text searches (#11357)

This commit is contained in:
shamoon
2025-11-14 08:09:09 -08:00
committed by GitHub
parent 005ef4fce6
commit 0219df5b67
4 changed files with 23 additions and 3 deletions

View File

@@ -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 (