Removed deleted jobs

This commit is contained in:
CHIEFSOFT\ameye
2023-06-28 10:38:36 -04:00
parent fa84aa2ff5
commit 63f246479d
+1 -1
View File
@@ -440,7 +440,7 @@ long WrenchReturnJobList(CVars in, CVars &out) {
" LEFT JOIN currency c ON c.country=j.country "
" WHERE m.status = 1 AND m.client_id=0 "
" AND m.expire IS NOT NULL "
" AND m.public_view = 1 AND m.expire> now() "
" AND m.public_view = 1 AND m.expire> now() AND j.status = 1 "
" ORDER BY m.expire DESC LIMIT %lu", in["limit"].Long());
if (res != NULL && pgsql_num_rows(res) > 0) {