Merge pull request #1922 from pixelfed/staging

Revert StoryController update
pull/1941/head
daniel 6 years ago committed by GitHub
commit 5184c2a6ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -106,8 +106,8 @@ class StoryController extends Controller
$stories = Story::with('profile')
->whereIn('profile_id', $following)
->groupBy(['id', 'profile_id'])
->where('expires_at', '>', now())
->groupBy('profile_id')
->orderByDesc('expires_at')
->take(9)
->get()

Loading…
Cancel
Save