This commit is contained in:
2022-05-07 16:56:11 -04:00
parent 0de7c858a3
commit 4a2f4b8c70
+1
View File
@@ -759,6 +759,7 @@ long WrenchReturnStartJobList(CVars in, CVars &out) {
"WHERE m.status = 1 AND m.client_id=0 "
"AND m.expire IS NOT NULL "
"AND m.public_view = 1 "
"AND m.expire > now() "
"ORDER BY m.expire DESC LIMIT %lu", in["limit"].Long());
if (res != NULL && pgsql_num_rows(res) > 0) {