From 8c2f16aa76935905a93350c83d330f2c71f01142 Mon Sep 17 00:00:00 2001 From: "Shridhar Goel (via MelvinBot)" Date: Tue, 5 May 2026 17:55:44 +0000 Subject: [PATCH] Exclude task reports from hidden filter in search Task reports use HIDDEN notification preference to suppress push notifications, not to hide them from search. Add !report.isTaskReport to the excludeHidden filter so tasks are not incorrectly filtered out of Cmd+K search results. Co-authored-by: Shridhar Goel --- src/libs/OptionsListUtils/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/libs/OptionsListUtils/index.ts b/src/libs/OptionsListUtils/index.ts index 187ebbcef864..538084eb8955 100644 --- a/src/libs/OptionsListUtils/index.ts +++ b/src/libs/OptionsListUtils/index.ts @@ -2521,6 +2521,7 @@ function getValidOptions( } if ( !report.isThread && + !report.isTaskReport && report.item?.chatType !== CONST.REPORT.CHAT_TYPE.SELF_DM && report.item?.chatType !== CONST.REPORT.CHAT_TYPE.POLICY_ADMINS && report.item?.chatType !== CONST.REPORT.CHAT_TYPE.GROUP &&