Skip to content

Commit 8c2f16a

Browse files
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 <ShridharGoel@users.noreply.github.com>
1 parent ff93d10 commit 8c2f16a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/libs/OptionsListUtils/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2521,6 +2521,7 @@ function getValidOptions(
25212521
}
25222522
if (
25232523
!report.isThread &&
2524+
!report.isTaskReport &&
25242525
report.item?.chatType !== CONST.REPORT.CHAT_TYPE.SELF_DM &&
25252526
report.item?.chatType !== CONST.REPORT.CHAT_TYPE.POLICY_ADMINS &&
25262527
report.item?.chatType !== CONST.REPORT.CHAT_TYPE.GROUP &&

0 commit comments

Comments
 (0)