1
0
mirror of https://github.com/flarum/core.git synced 2025-07-16 14:26:25 +02:00

Fix column names

This commit is contained in:
Toby Zerner
2018-07-21 15:24:51 +09:30
parent fb6b2d05b1
commit 93b9513df2
3 changed files with 4 additions and 4 deletions

View File

@ -34,7 +34,7 @@ class NotificationRepository
->whereIn('type', $user->getAlertableNotificationTypes())
->whereNull('deleted_at')
->groupBy('type', 'subject_id')
->orderByRaw('MAX(time) DESC')
->orderByRaw('MAX(created_at) DESC')
->skip($offset)
->take($limit);