From 833a0badeea67653ef15b0ebd927b2a695d5c957 Mon Sep 17 00:00:00 2001 From: shamoon <4887959+shamoon@users.noreply.github.com> Date: Wed, 15 May 2024 07:52:38 -0700 Subject: [PATCH] Use FILTER_HAS_TAGS_ALL --- .../app-frame/global-search/global-search.component.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src-ui/src/app/components/app-frame/global-search/global-search.component.ts b/src-ui/src/app/components/app-frame/global-search/global-search.component.ts index 837a8f39d..86874b990 100644 --- a/src-ui/src/app/components/app-frame/global-search/global-search.component.ts +++ b/src-ui/src/app/components/app-frame/global-search/global-search.component.ts @@ -14,7 +14,7 @@ import { FILTER_HAS_CORRESPONDENT_ANY, FILTER_HAS_DOCUMENT_TYPE_ANY, FILTER_HAS_STORAGE_PATH_ANY, - FILTER_HAS_TAGS_ANY, + FILTER_HAS_TAGS_ALL, } from 'src/app/data/filter-rule-type' import { DataType } from 'src/app/data/datatype' import { ObjectWithId } from 'src/app/data/object-with-id' @@ -132,7 +132,7 @@ export class GlobalSearchComponent implements OnInit { filterRuleType = FILTER_HAS_STORAGE_PATH_ANY break case DataType.Tag: - filterRuleType = FILTER_HAS_TAGS_ANY + filterRuleType = FILTER_HAS_TAGS_ALL break case DataType.User: editDialogComponent = UserEditDialogComponent