removed cancled refunded jobs
This commit is contained in:
@@ -391,7 +391,7 @@ long WrenchJobManagerActiveTasksList(CVars in, CVars &out) {
|
||||
" LEFT JOIN members m ON m.id=mc.client_id "
|
||||
" LEFT JOIN members_family mf ON mf.family_member_id = mc.client_id "
|
||||
" LEFT JOIN currency c ON c.country=mj.country "
|
||||
" WHERE mc.member_id =%lu %s %s %s "
|
||||
" WHERE mc.member_id =%lu %s %s %s AND mc.refund_date IS NULL AND mc.status <> 7 "
|
||||
" ORDER BY mc.id DESC LIMIT %lu OFFSET %lu", member_id, member_id ,extra_filter, status_no_filter, status_filter, limit, offset);
|
||||
//ORDER BY id DESC LIMIT %lu OFFSET %lu", in["member_id"].Long(), limit, offset);
|
||||
if (res != NULL && pgsql_num_rows(res) > 0) {
|
||||
|
||||
Reference in New Issue
Block a user