Skip to content

Commit b822915

Browse files
committed
Fix for batchVersion check when filtering by batch status
1 parent bc07b52 commit b822915

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/webapp/app/presenters/v3/BatchListPresenter.server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ WHERE
127127
statuses && statuses.length > 0
128128
? Prisma.sql`AND b.status = ANY(ARRAY[${Prisma.join(
129129
statuses
130-
)}]::"BatchTaskRunStatus"[]) AND b.version <> 'v1'`
130+
)}]::"BatchTaskRunStatus"[]) AND b."batchVersion" <> 'v1'`
131131
: Prisma.empty
132132
}
133133
${

0 commit comments

Comments
 (0)