From 880e1a7561207fe43613dee6f05f273fff00042e Mon Sep 17 00:00:00 2001 From: btkcodedev Date: Sat, 31 Jan 2026 14:18:46 +0530 Subject: [PATCH] fix: multi level tags colon seperation --- src/libs/SearchUIUtils.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libs/SearchUIUtils.ts b/src/libs/SearchUIUtils.ts index 8f0d14c38f9fe..0ebf24187fe55 100644 --- a/src/libs/SearchUIUtils.ts +++ b/src/libs/SearchUIUtils.ts @@ -94,7 +94,7 @@ import {getDisplayNameOrDefault} from './PersonalDetailsUtils'; import { arePaymentsEnabled, canSendInvoice, - getCleanedTagName, + getCommaSeparatedTagNameWithSanitizedColons, getGroupPaidPoliciesWithExpenseChatEnabled, getPolicy, getSubmitToAccountID, @@ -2408,7 +2408,7 @@ function getTagSections(data: OnyxTypes.SearchResults['data'], queryJSON: Search // Format the tag name - use translated "No tag" for empty values so it sorts alphabetically const rawTag = tagGroup.tag; const isEmptyTag = !rawTag || rawTag === CONST.SEARCH.TAG_EMPTY_VALUE || rawTag === '(untagged)'; - const formattedTag = isEmptyTag ? translate('search.noTag') : getCleanedTagName(rawTag); + const formattedTag = isEmptyTag ? translate('search.noTag') : getCommaSeparatedTagNameWithSanitizedColons(rawTag); tagSections[key] = { groupedBy: CONST.SEARCH.GROUP_BY.TAG,