mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-12-25 06:23:18 +00:00
Update StoryController
This commit is contained in:
parent
b07d5ca3a0
commit
523d90cdec
1 changed files with 1 additions and 1 deletions
|
@ -106,7 +106,7 @@ class StoryController extends Controller
|
||||||
|
|
||||||
$stories = Story::with('profile')
|
$stories = Story::with('profile')
|
||||||
->whereIn('profile_id', $following)
|
->whereIn('profile_id', $following)
|
||||||
->groupBy('profile_id')
|
->groupBy(['id', 'profile_id'])
|
||||||
->where('expires_at', '>', now())
|
->where('expires_at', '>', now())
|
||||||
->orderByDesc('expires_at')
|
->orderByDesc('expires_at')
|
||||||
->take(9)
|
->take(9)
|
||||||
|
|
Loading…
Reference in a new issue