1
0
Эх сурвалжийг харах

[Bugfix] Fix for #4518: SQL query that generates the report list in the admin view needs to include the 'id' field

David Gabriel 1 жил өмнө
parent
commit
480394f3d8

+ 1 - 1
app/Http/Controllers/Admin/AdminReportController.php

@@ -643,7 +643,7 @@ trait AdminReportController
 				$q->whereNull('admin_seen') :
 				$q->whereNotNull('admin_seen');
 			})
-			->groupBy(['object_id', 'object_type'])
+			->groupBy(['id', 'object_id', 'object_type'])
 			->cursorPaginate(6)
 			->withQueryString()
 		);