Skip to content

Commit

Permalink
Update AdminReportController, add profile_id to group by. Fixes #4685
Browse files Browse the repository at this point in the history
  • Loading branch information
dansup committed Oct 9, 2023
1 parent 135798e commit e4d3b19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Http/Controllers/Admin/AdminReportController.php
Expand Up @@ -643,7 +643,7 @@ public function reportsApiAll(Request $request)
$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()
);
Expand Down

0 comments on commit e4d3b19

Please sign in to comment.