diff --git a/src/libs/OptionsListUtils/index.ts b/src/libs/OptionsListUtils/index.ts index 0c3338397983..755b4300bda3 100644 --- a/src/libs/OptionsListUtils/index.ts +++ b/src/libs/OptionsListUtils/index.ts @@ -2641,7 +2641,9 @@ function filterSelfDMChat(report: SearchOptionData, searchTerms: string[]): Sear } // Remove duplicate values and check if the term matches any value - return uniqFast(values).some((value) => value.includes(term)); + return uniqFast(values) + .map((val) => val.toLocaleLowerCase()) + .some((value) => value.includes(term.toLocaleLowerCase())); }); return isMatch ? report : undefined;