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 }