N°2039 - Fix notifications sorting

This commit is contained in:
Stephen Abello
2024-02-28 15:20:20 +01:00
parent fbe7f559d2
commit 2a5337d84c

View File

@@ -363,7 +363,7 @@ JS
// Search for all notifications for the current user
$oSearch = DBObjectSearch::FromOQL('SELECT EventiTopNotification');
$oSearch->AddCondition('contact_id', UserRights::GetContactId(), '=');
$oSet = new DBObjectSet($oSearch, array('read' => true, 'date' => true), array());
$oSet = new DBObjectSet($oSearch, array('read' => true, 'date' => false), array());
// Add main content block
$oMainContentBlock = new UIContentBlock(null, ['ibo-notifications--view-all--container']);