This commit is contained in:
2022-03-01 19:06:55 +00:00
parent 820c272976
commit 5b6a32bc18

View File

@@ -48,7 +48,7 @@ SELECT ACUSTOMERSERVICEREQUEST.DATEREQUESTED,
FROM ACUSTOMERSERVICEREQUEST
LEFT JOIN ACUSTOMER ON (ACUSTOMERSERVICEREQUEST.CUSTOMERID = ACUSTOMER.ID)
WHERE (ACUSTOMERSERVICEREQUEST.STATUS = 0) {custTagsWhere}
ORDER BY ACUSTOMERSERVICEREQUEST.DATEREQUESTED DESC
ORDER BY ACUSTOMERSERVICEREQUEST.DATEREQUESTED ASC
) t";
_metaQuery = string.Empty;
// @"SELECT row_to_json(t) as res from (