From 742d2b5ff26da6f5e44618728cfb3f70128296cc Mon Sep 17 00:00:00 2001 From: Allan Carr Date: Mon, 27 Nov 2023 10:13:43 -0800 Subject: [PATCH 1/2] IO-2481 Parts Queue Query Adjust query to only show converted Jobs --- client/src/graphql/jobs.queries.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/graphql/jobs.queries.js b/client/src/graphql/jobs.queries.js index b14e0e03b..8569e5d39 100644 --- a/client/src/graphql/jobs.queries.js +++ b/client/src/graphql/jobs.queries.js @@ -60,7 +60,7 @@ export const QUERY_PARTS_QUEUE = gql` } } jobs( - where: { _and: [{ status: { _in: $statuses } }] } + where: { _and: [{ status: { _in: $statuses }, converted: { _eq: true} }] } offset: $offset limit: $limit order_by: $order From 8ebf7baa71cf54b11e4803e1d903c01438ba9ed7 Mon Sep 17 00:00:00 2001 From: Allan Carr Date: Mon, 27 Nov 2023 10:16:10 -0800 Subject: [PATCH 2/2] IO-2481 Parts Queue Query prettyier --- client/src/graphql/jobs.queries.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/graphql/jobs.queries.js b/client/src/graphql/jobs.queries.js index 8569e5d39..7c6888d68 100644 --- a/client/src/graphql/jobs.queries.js +++ b/client/src/graphql/jobs.queries.js @@ -60,7 +60,7 @@ export const QUERY_PARTS_QUEUE = gql` } } jobs( - where: { _and: [{ status: { _in: $statuses }, converted: { _eq: true} }] } + where: { _and: [{ status: { _in: $statuses }, converted: { _eq: true } }] } offset: $offset limit: $limit order_by: $order