mirror of
https://github.com/espocrm/espocrm.git
synced 2026-06-28 15:06:06 +00:00
fix notification order
This commit is contained in:
@@ -897,7 +897,7 @@ class RecordService
|
||||
])
|
||||
->where([Notification::ATTR_USER_ID => $user->getId()])
|
||||
->order([])
|
||||
->order($this->getMaxNumberExpr(), Order::DESC);
|
||||
->order(Notification::ATTR_NUMBER, Order::DESC);
|
||||
|
||||
if ($notRead) {
|
||||
$builder->where([Notification::ATTR_READ => false]);
|
||||
|
||||
Reference in New Issue
Block a user