diff --git a/src/frontend/src/pages/CamerasListPage.js b/src/frontend/src/pages/CamerasListPage.js index 05f38748a..7be509821 100644 --- a/src/frontend/src/pages/CamerasListPage.js +++ b/src/frontend/src/pages/CamerasListPage.js @@ -89,7 +89,10 @@ export default function CamerasListPage() { useEffect(() => { const filteredCams = !searchText ? processedCameras : - processedCameras.filter((pc) => pc.name.toLowerCase().includes(searchText)); + processedCameras.filter( + (pc) => pc.name.toLowerCase().includes(searchText.toLowerCase()) || + pc.caption.toLowerCase().includes(searchText.toLowerCase()) + ); setDisplayedCameras(filteredCams);