mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
notification: order notification by date desc in inbox and sent
This commit is contained in:
parent
d31661ae7a
commit
ebc6d21ba6
@ -116,6 +116,8 @@ final class NotificationRepository implements ObjectRepository
|
||||
$query = $query->setFirstResult($offset);
|
||||
}
|
||||
|
||||
$query->addOrderBy('n.date', 'DESC');
|
||||
|
||||
return $query->getQuery()->getResult();
|
||||
}
|
||||
|
||||
@ -131,6 +133,8 @@ final class NotificationRepository implements ObjectRepository
|
||||
$query = $query->setFirstResult($offset);
|
||||
}
|
||||
|
||||
$query->addOrderBy('n.date', 'DESC');
|
||||
|
||||
return $query->getQuery()->getResult();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user