mirror of
https://github.com/friendica/friendica
synced 2024-11-18 15:03:41 +00:00
Merge pull request #11342 from MrPetovan/task/4639-soapbox-intro-notification
Add correct ordering for detailed notifications
This commit is contained in:
commit
79772214ad
1 changed files with 1 additions and 1 deletions
|
@ -87,7 +87,7 @@ class Ping extends BaseModule
|
|||
|
||||
if (local_user()) {
|
||||
if (DI::pConfig()->get(local_user(), 'system', 'detailed_notif')) {
|
||||
$notifications = $this->notificationRepo->selectForUser(local_user(), ['`vid` != ?', Verb::getID(\Friendica\Protocol\Activity::LIKE)], ['limit' => 50]);
|
||||
$notifications = $this->notificationRepo->selectForUser(local_user(), ['`vid` != ?', Verb::getID(\Friendica\Protocol\Activity::LIKE)], ['limit' => 50, 'order' => ['id' => true]]);
|
||||
} else {
|
||||
$notifications = $this->notificationRepo->selectDigestForUser(local_user());
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue