From 49f5668e892910c1a8b6a37ee32297abde0b6acb Mon Sep 17 00:00:00 2001 From: Patrick Fic <> Date: Thu, 27 Jan 2022 08:41:37 -0800 Subject: [PATCH] IO-1674 Reorder bill posting lines by price. --- client/src/graphql/jobs-lines.queries.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/graphql/jobs-lines.queries.js b/client/src/graphql/jobs-lines.queries.js index d4e50fd94..6759c82fb 100644 --- a/client/src/graphql/jobs-lines.queries.js +++ b/client/src/graphql/jobs-lines.queries.js @@ -181,7 +181,7 @@ export const UPDATE_JOB_LINE = gql` export const GET_JOB_LINES_TO_ENTER_BILL = gql` query GET_JOB_LINES_TO_ENTER_BILL($id: uuid!) { - joblines(where: { jobid: { _eq: $id } }) { + joblines(where: { jobid: { _eq: $id } }, order_by: { act_price: desc }) { removed id line_desc