From db208ecdc41276d33fc81d5cf9f50d61feb4fdcb Mon Sep 17 00:00:00 2001 From: Mike Johnston Date: Wed, 29 Apr 2026 22:52:05 -0400 Subject: [PATCH] fix: dont filter reports so i can see them all --- src/models/index.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/models/index.js b/src/models/index.js index 0088b0f..bc1c084 100644 --- a/src/models/index.js +++ b/src/models/index.js @@ -571,7 +571,7 @@ const ComplaintReports = { FROM complaint_reports c JOIN packages p ON c.package_id = p.id LEFT JOIN users u ON c.reported_by_user_id = u.id - WHERE c.hunt_id = ? AND c.status = 'open' + WHERE c.hunt_id = ? ORDER BY c.created_at ASC `).all(huntId); }, @@ -585,7 +585,6 @@ const ComplaintReports = { JOIN packages p ON c.package_id = p.id JOIN hunts h ON c.hunt_id = h.id LEFT JOIN users u ON c.reported_by_user_id = u.id - WHERE c.status = 'open' ORDER BY c.created_at ASC `).all(); },