This commit is contained in:
CHIEFSOFT\ameye
2024-01-23 12:49:20 -05:00
parent f04fec6c34
commit 987bb5112a
+1 -1
View File
@@ -253,7 +253,7 @@ long WrenchSuggestWaitingList(CVars in, CVars &out){ // this is the parent now
" LEFT JOIN members_family mf ON mf.uid::text = sg.family_uid "
" WHERE sg.family_uid::text IN (SELECT uid::text FROM members_family "
" WHERE member_id = %lu ) "
" AND sg.status IN ( 1,2,3,4,5) "
" AND sg.status IN ( 0,1,2,3,4,5) "
" ORDER BY sg.created DESC LIMIT %lu OFFSET %lu", member_id, limit, offset);
if (res != NULL && pgsql_num_rows(res) > 0) {