fix: dont filter reports so i can see them all
Build Images and Deploy / Update-PROD-Stack (push) Successful in 20s
Build Images and Deploy / Update-PROD-Stack (push) Successful in 20s
This commit is contained in:
+1
-2
@@ -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();
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user