Merge pull request #4688 from pixelfed/staging

Update AdminReportController, add `profile_id` to group by. Fixes #4685
This commit is contained in:
daniel 2023-10-09 14:59:59 -06:00 committed by GitHub
commit f38226c527
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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