1
0
Fork 1
mirror of https://github.com/pixelfed/pixelfed.git synced 2024-12-25 01:05:36 +00:00

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

This commit is contained in:
David Gabriel 2023-09-09 19:50:45 +02:00
parent 83900a3b00
commit 480394f3d8

View file

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