Update release reporting

This commit is contained in:
DariusIII
2026-02-05 10:53:21 +01:00
parent b3c20ad3b2
commit a22afcb8da
9 changed files with 308 additions and 6 deletions
+1 -1
View File
@@ -76,7 +76,7 @@ class DetailsController extends BasePageController
$similars = $this->releaseSearchService->searchSimilar($data['id'], $data['searchname'], $this->userdata->categoryexclusions);
$failed = DnzbFailure::getFailedCount($data['id']);
$reportData = ReleaseReport::where('releases_id', $data['id'])
->whereIn('status', ['pending', 'reviewed'])
->whereIn('status', ['pending', 'reviewed', 'resolved'])
->get();
$reportCount = $reportData->count();
$reportReasons = ReleaseReport::reasonKeysToLabels($reportData->pluck('reason')->unique()->implode(', '));