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(