From 987bb5112aaff90865f714635c3d26aa88a373c3 Mon Sep 17 00:00:00 2001 From: "CHIEFSOFT\\ameye" Date: Tue, 23 Jan 2024 12:49:20 -0500 Subject: [PATCH] status 0 --- wrenchboard/src/shared_tool/family_acc.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wrenchboard/src/shared_tool/family_acc.cc b/wrenchboard/src/shared_tool/family_acc.cc index ac213a56..2da68ae5 100644 --- a/wrenchboard/src/shared_tool/family_acc.cc +++ b/wrenchboard/src/shared_tool/family_acc.cc @@ -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) {