Merged in feature/IO-3012-Remove-Sort-for-SB-TimeTickets-Query (pull request #1871)

IO-3012 Remove Sort from SB Timeticket Query

Approved-by: Dave Richer
This commit is contained in:
Allan Carr
2024-10-30 19:03:18 +00:00
committed by Dave Richer

View File

@@ -145,7 +145,6 @@ export const QUERY_TIME_TICKETS_IN_RANGE_SB = gql`
) {
timetickets(
where: { date: { _gte: $start, _lte: $end }, cost_center: { _neq: "timetickets.labels.shift" } }
order_by: { date: desc_nulls_first }
) {
actualhrs
ciecacode
@@ -180,7 +179,6 @@ export const QUERY_TIME_TICKETS_IN_RANGE_SB = gql`
}
fixedperiod: timetickets(
where: { date: { _gte: $fixedStart, _lte: $fixedEnd }, cost_center: { _neq: "timetickets.labels.shift" } }
order_by: { date: desc_nulls_first }
) {
actualhrs
ciecacode