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

pull/4642/head
David Gabriel 2 years ago
parent 83900a3b00
commit 480394f3d8

@ -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()
);

Loading…
Cancel
Save