From 7119313b7de34e6e4c060beecba20ae8eabcf5db Mon Sep 17 00:00:00 2001 From: trafficlunar Date: Thu, 10 Apr 2025 12:43:18 +0100 Subject: [PATCH] fix: use hasEvery instead of hasSome in mii list tags filter --- src/app/components/mii-list/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/components/mii-list/index.tsx b/src/app/components/mii-list/index.tsx index 346af1c..5670c9b 100644 --- a/src/app/components/mii-list/index.tsx +++ b/src/app/components/mii-list/index.tsx @@ -37,7 +37,7 @@ export default async function MiiList({ searchParams, userId, where }: Props) { .map((tag) => tag.trim()) .filter((tag) => tag.length > 0) : []; - const whereTags = tagFilter.length > 0 ? { tags: { hasSome: tagFilter } } : undefined; + const whereTags = tagFilter.length > 0 ? { tags: { hasEvery: tagFilter } } : undefined; // If the mii list is on a user's profile, don't query for the username const userInclude =