From 1dfac676ab2c6b0f1cd76a4c37e5529cce7b7353 Mon Sep 17 00:00:00 2001 From: Georg Schelkshorn Date: Fri, 5 Dec 2025 10:37:58 +0100 Subject: [PATCH] fix: check against empty array instead of exists to fix folder filtering in browse-by-folder view --- packages/ui/src/utilities/getFolderResultsComponentAndData.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/ui/src/utilities/getFolderResultsComponentAndData.tsx b/packages/ui/src/utilities/getFolderResultsComponentAndData.tsx index 055bff60022..22aed041af6 100644 --- a/packages/ui/src/utilities/getFolderResultsComponentAndData.tsx +++ b/packages/ui/src/utilities/getFolderResultsComponentAndData.tsx @@ -117,7 +117,7 @@ export const getFolderResultsComponentAndData = async ({ // if the folderType is not set, it means it accepts all collections and should appear in the results { folderType: { - exists: false, + equals: [], }, }, ],