[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 2023-09-09 19:50:45 +02:00
rodzic 83900a3b00
commit 480394f3d8
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

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