diff --git a/src/features/courses/screens/CourseDirectoryScreen.tsx b/src/features/courses/screens/CourseDirectoryScreen.tsx index 4c63f5ac..5c86cfb2 100644 --- a/src/features/courses/screens/CourseDirectoryScreen.tsx +++ b/src/features/courses/screens/CourseDirectoryScreen.tsx @@ -119,7 +119,9 @@ const CourseFileSearchFlatList = ({ courseId, searchFilter }: SearchProps) => { useEffect(() => { if (!recentFilesQuery.data) return; setSearchResults( - recentFilesQuery.data.filter(file => file.name.includes(searchFilter)), + recentFilesQuery.data.filter(file => + file.name.toLowerCase().includes(searchFilter.toLowerCase()), + ), ); }, [recentFilesQuery.data, searchFilter]);