Improve video filtering to display all Folx Stadl content

Update the video query to fetch more videos and adjust the filtering logic to include all "FOLX STADL" and "FOLXSTADL" titles, ensuring comprehensive display of related content.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: ab9cd02a-d0b2-4288-9ceb-1964d0059648
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/8cc42625-c1f5-4e43-99bd-77f2c4dedee2/ab9cd02a-d0b2-4288-9ceb-1964d0059648/xVB32z7
This commit is contained in:
sebastjanartic
2025-08-31 20:47:47 +00:00
parent 0425cb899a
commit cc0cfe3120
2 changed files with 3 additions and 3 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 MiB

+3 -3
View File
@@ -20,15 +20,15 @@ export default function FolxStadlPage() {
const itemsPerPage = 10;
const { data, isLoading } = useQuery<{videos: Video[], total: number}>({
queryKey: ['/api/videos?limit=50'],
queryKey: ['/api/videos?limit=200'],
select: (response) => response || { videos: [], total: 0 }
});
const videos = data?.videos || [];
// Filter only FOLX STADL S4 videos (including both formats)
// Filter all FOLX STADL videos (including all seasons and formats)
const folxStadlVideos = videos.filter(video =>
video.title.includes("FOLX STADL S4")
video.title.includes("FOLX STADL") || video.title.includes("FOLXSTADL")
);
// Pagination logic