From ecd5a8447cede8d6fbd3ad4e003ad59f33e0c2f7 Mon Sep 17 00:00:00 2001 From: sebastjanartic <45803536-sebastjanartic@users.noreply.replit.com> Date: Wed, 17 Sep 2025 08:08:48 +0000 Subject: [PATCH] Add logging to display video counts on the FOLX STADL page Add console logs to FolxStadlPage.tsx to display the total number of videos loaded and the number of FOLX STADL videos found, including sample titles for debugging. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 45a1dcfc-f8a2-475a-a6b9-96fbb841dc27 Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/60d372ff-2c10-46c7-b01b-10c3435136b0/45a1dcfc-f8a2-475a-a6b9-96fbb841dc27/HUaKUr1 --- .replit | 2 +- client/src/pages/FolxStadlPage.tsx | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/.replit b/.replit index a8ca264..5b437fe 100644 --- a/.replit +++ b/.replit @@ -16,7 +16,7 @@ localPort = 5000 externalPort = 80 [[ports]] -localPort = 45029 +localPort = 37975 externalPort = 3000 [env] diff --git a/client/src/pages/FolxStadlPage.tsx b/client/src/pages/FolxStadlPage.tsx index fde09d3..78257f8 100644 --- a/client/src/pages/FolxStadlPage.tsx +++ b/client/src/pages/FolxStadlPage.tsx @@ -27,11 +27,18 @@ export default function FolxStadlPage() { }); const videos = data?.videos || []; + console.log('📺 FolxStadlPage: Total videos loaded:', videos.length); // Filter all FOLX STADL videos (including all seasons and formats) const folxStadlVideos = videos.filter(video => video.title.includes("FOLX STADL") || video.title.includes("FOLXSTADL") ); + console.log('🎪 FolxStadlPage: FOLX STADL videos found:', folxStadlVideos.length); + + // Debug: Show sample titles + if (videos.length > 0) { + console.log('📋 Sample video titles:', videos.slice(0, 5).map(v => v.title)); + } // Pagination logic const totalPages = Math.ceil(folxStadlVideos.length / itemsPerPage);