Resolved contracts list not showing correct entries based on dates. BOD-313. Added changes not saved indicator to shop info BOD-325
This commit is contained in:
@@ -136,7 +136,13 @@ export const QUERY_ACTIVE_CONTRACTS_PAGINATED = gql`
|
||||
offset: $offset
|
||||
limit: $limit
|
||||
order_by: $order
|
||||
where: { actualreturn: { _lte: $end }, start: { _gte: $start } }
|
||||
where: {
|
||||
_or: [
|
||||
{ actualreturn: { _lte: $end } }
|
||||
{ actualreturn: { _is_null: true } }
|
||||
]
|
||||
start: { _gte: $start }
|
||||
}
|
||||
) {
|
||||
agreementnumber
|
||||
courtesycarid
|
||||
|
||||
Reference in New Issue
Block a user