From dd2afeba23009f33ba1b366ea711eb0f54d68b32 Mon Sep 17 00:00:00 2001 From: Richie McIlroy <33632126+richiemcilroy@users.noreply.github.com> Date: Fri, 19 Jun 2026 09:47:43 +0100 Subject: [PATCH] fix(web): exclude sub-folder videos from public space root --- apps/web/lib/public-collections.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/web/lib/public-collections.ts b/apps/web/lib/public-collections.ts index 263f2bb0cf..e44e5b8bb1 100644 --- a/apps/web/lib/public-collections.ts +++ b/apps/web/lib/public-collections.ts @@ -474,6 +474,7 @@ async function getPublicSpaceVideos( const offset = (page - 1) * PUBLIC_COLLECTION_PAGE_SIZE; const where = and( eq(spaceVideos.spaceId, collection.id as Space.SpaceIdOrOrganisationId), + isNull(spaceVideos.folderId), eq(videos.public, true), isNull(organizations.tombstoneAt), videoPasswordPredicate(