mirror of https://github.com/pixelfed/pixelfed.git
Update AdminReportController, add `profile_id` to group by. Fixes #4685
This commit is contained in:
parent
135798eb68
commit
e4d3b19642
|
@ -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()
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue