From 83a9df6968350b2cbf07524315f8f323e1c020dc Mon Sep 17 00:00:00 2001 From: cade Date: Thu, 29 Aug 2024 16:05:09 -0600 Subject: [PATCH] don't show archived subjects on listInputs --- app/_queries/list-inputs.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/_queries/list-inputs.ts b/app/_queries/list-inputs.ts index 1cf19b58..7af10930 100644 --- a/app/_queries/list-inputs.ts +++ b/app/_queries/list-inputs.ts @@ -8,7 +8,7 @@ const listInputs = async () => .eq('team_id', (await getCurrentUser())?.id ?? '') .eq('archived', false) .eq('subjects.deleted', false) - .not('subjects.archived', 'is', null) + .eq('subjects.archived', false) .order('name', { referencedTable: 'subjects' }) .order('label');