Update AdminReportController, add profile_id to group by. Fixes #4685

This commit is contained in:
Daniel Supernault 2023-10-09 13:44:25 -06:00
parent 135798eb68
commit e4d3b19642
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

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