From ff115cedb0558bcc1ee65620dc368c5008a77a8d Mon Sep 17 00:00:00 2001 From: shamoon <4887959+shamoon@users.noreply.github.com> Date: Tue, 13 Oct 2026 13:28:39 -0700 Subject: [PATCH] Just drop this conversion stuff from the frontend --- .../filter-editor/filter-editor.component.ts | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/src-ui/src/app/components/document-list/filter-editor/filter-editor.component.ts b/src-ui/src/app/components/document-list/filter-editor/filter-editor.component.ts index 7da3f6373..1aabd7b64 100644 --- a/src-ui/src/app/components/document-list/filter-editor/filter-editor.component.ts +++ b/src-ui/src/app/components/document-list/filter-editor/filter-editor.component.ts @@ -1083,23 +1083,6 @@ export class FilterEditorComponent (fr) => fr.rule_type == FILTER_FULLTEXT_QUERY ) - // if had a title / content search and added a relative date we need to carry it over... - if ( - !existingRule && - this._textFilter?.length > 0 && - (this.textFilterTarget == TEXT_FILTER_TARGET_TITLE_CONTENT || - this.textFilterTarget == TEXT_FILTER_TARGET_TITLE) - ) { - existingRule = filterRules.find( - (fr) => - fr.rule_type == FILTER_TITLE_CONTENT || - fr.rule_type == FILTER_SIMPLE_TEXT || - fr.rule_type == FILTER_TITLE || - fr.rule_type == FILTER_SIMPLE_TITLE - ) - existingRule.rule_type = FILTER_FULLTEXT_QUERY - } - let queryArgs = existingRule?.value.split(',') ?? [] if (this.dateCreatedRelativeDate !== null) { const rd = RELATIVE_DATE_QUERYSTRINGS.find(