MED-244: Hide CANCELLED jobs from user "in progress" jobs table

This commit is contained in:
2025-11-13 13:12:03 +02:00
parent 96fbb71c87
commit d643788919

View File

@@ -247,7 +247,7 @@ export async function getUserInProgressResponses({
`, `,
{ count: 'exact' }, { count: 'exact' },
) )
.neq('order_status', 'ON_HOLD') .eq('order_status', 'COMPLETED')
.in('analysis_order_id', analysisOrderIds) .in('analysis_order_id', analysisOrderIds)
.range(offset, offset + pageSize - 1) .range(offset, offset + pageSize - 1)
.order('created_at', { ascending: false }); .order('created_at', { ascending: false });