From 2a5b323759a7a7e016bc8483b9d54d38b73ba993 Mon Sep 17 00:00:00 2001 From: sebastjanartic <45803536-sebastjanartic@users.noreply.replit.com> Date: Sat, 30 Aug 2025 16:09:14 +0000 Subject: [PATCH] Improve video loading and filtering for specific content Update the video query to include a limit of 200 videos and refine filtering to correctly display all "FOLX STADL S4" videos, including both formats. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 074b0e4c-6171-43bd-aa98-f9e04623ca14 Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/8cc42625-c1f5-4e43-99bd-77f2c4dedee2/074b0e4c-6171-43bd-aa98-f9e04623ca14/QQTyNAb --- client/src/pages/FolxStadlPage.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/src/pages/FolxStadlPage.tsx b/client/src/pages/FolxStadlPage.tsx index 5fbd2d1..08af6e1 100644 --- a/client/src/pages/FolxStadlPage.tsx +++ b/client/src/pages/FolxStadlPage.tsx @@ -11,13 +11,13 @@ export default function FolxStadlPage() { const [isModalOpen, setIsModalOpen] = useState(false); const { data, isLoading } = useQuery<{videos: Video[], total: number}>({ - queryKey: ['/api/videos'], + queryKey: ['/api/videos?limit=200'], select: (response) => response || { videos: [], total: 0 } }); const videos = data?.videos || []; - // Filter only FOLX STADL S4 videos + // Filter only FOLX STADL S4 videos (including both formats) const folxStadlVideos = videos.filter(video => video.title.includes("FOLX STADL S4") );