mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-22 22:41:27 +00:00
Revert StoryController update
This commit is contained in:
parent
70b98d9ace
commit
e30823dbf2
1 changed files with 1 additions and 1 deletions
|
@ -106,8 +106,8 @@ class StoryController extends Controller
|
||||||
|
|
||||||
$stories = Story::with('profile')
|
$stories = Story::with('profile')
|
||||||
->whereIn('profile_id', $following)
|
->whereIn('profile_id', $following)
|
||||||
->groupBy(['id', 'profile_id'])
|
|
||||||
->where('expires_at', '>', now())
|
->where('expires_at', '>', now())
|
||||||
|
->groupBy('profile_id')
|
||||||
->orderByDesc('expires_at')
|
->orderByDesc('expires_at')
|
||||||
->take(9)
|
->take(9)
|
||||||
->get()
|
->get()
|
||||||
|
|
Loading…
Reference in a new issue