From ae020b651e54566e043d905e75906b641d58f6ee Mon Sep 17 00:00:00 2001 From: Allan Carr Date: Thu, 31 Oct 2024 10:56:05 -0700 Subject: [PATCH] IO-3014 Further Query Refinements for T/T Signed-off-by: Allan Carr --- client/src/graphql/timetickets.queries.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/client/src/graphql/timetickets.queries.js b/client/src/graphql/timetickets.queries.js index b21e47f56..c5707a2e4 100644 --- a/client/src/graphql/timetickets.queries.js +++ b/client/src/graphql/timetickets.queries.js @@ -2,7 +2,7 @@ import { gql } from "@apollo/client"; export const QUERY_TICKETS_BY_JOBID = gql` query QUERY_TICKETS_BY_JOBID($jobid: uuid!) { - timetickets(where: { jobid: { _eq: $jobid } }, order_by: { date: desc_nulls_first }) { + timetickets(where: { jobid: { _eq: $jobid } }) { actualhrs cost_center ciecacode @@ -333,7 +333,6 @@ export const UPDATE_TIME_TICKETS = gql` export const QUERY_ACTIVE_TIME_TICKETS = gql` query QUERY_ACTIVE_TIME_TICKETS($employeeId: uuid) { timetickets( - order_by: { date: desc_nulls_first } where: { _and: { clockoff: { _is_null: true }