diff options
author | Rigel Kent <sendmemail@rigelk.eu> | 2020-07-27 17:00:39 +0200 |
---|---|---|
committer | Rigel Kent <par@rigelk.eu> | 2020-07-29 18:15:53 +0200 |
commit | 7b3909644dd7cb8be1caad537bb40605e5f059d4 (patch) | |
tree | 499d23362c0532cd689624a35b98d8f51ba73ed4 /client/src/app/shared | |
parent | 225a7682e68d81c3c90ff50e704db4ab5f81a341 (diff) | |
download | PeerTube-7b3909644dd7cb8be1caad537bb40605e5f059d4.tar.gz PeerTube-7b3909644dd7cb8be1caad537bb40605e5f059d4.tar.zst PeerTube-7b3909644dd7cb8be1caad537bb40605e5f059d4.zip |
test search for subscriptions and video-channels
Diffstat (limited to 'client/src/app/shared')
-rw-r--r-- | client/src/app/shared/shared-main/users/user-notifications.component.ts | 1 |
1 files changed, 1 insertions, 0 deletions
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 { | |||
53 | ignoreLoadingBar: this.ignoreLoadingBar, | 53 | ignoreLoadingBar: this.ignoreLoadingBar, |
54 | sort: { | 54 | sort: { |
55 | field: this.sortField, | 55 | field: this.sortField, |
56 | // if we order by creation date, we want DESC. all other fields are ASC (like unread). | ||
56 | order: this.sortField === 'createdAt' ? -1 : 1 | 57 | order: this.sortField === 'createdAt' ? -1 : 1 |
57 | } | 58 | } |
58 | }) | 59 | }) |