From 7b3909644dd7cb8be1caad537bb40605e5f059d4 Mon Sep 17 00:00:00 2001 From: Rigel Kent Date: Mon, 27 Jul 2020 17:00:39 +0200 Subject: test search for subscriptions and video-channels --- client/src/app/shared/shared-main/users/user-notifications.component.ts | 1 + 1 file changed, 1 insertion(+) (limited to 'client') diff --git a/client/src/app/shared/shared-main/users/user-notifications.component.ts b/client/src/app/shared/shared-main/users/user-notifications.component.ts index 48be80e3f..7518dbdd0 100644 --- a/client/src/app/shared/shared-main/users/user-notifications.component.ts +++ b/client/src/app/shared/shared-main/users/user-notifications.component.ts @@ -53,6 +53,7 @@ export class UserNotificationsComponent implements OnInit { ignoreLoadingBar: this.ignoreLoadingBar, sort: { field: this.sortField, + // if we order by creation date, we want DESC. all other fields are ASC (like unread). order: this.sortField === 'createdAt' ? -1 : 1 } }) -- cgit v1.2.3