aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared/video/abstract-video-list.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-05-15 08:47:47 +0200
committerChocobozzz <me@florianbigard.com>2018-05-15 08:47:47 +0200
commit136cce4d6744bef7fd316b929157c1e4e3984fe3 (patch)
treec084909aff9e8d9cf50898b3534b4fe56170394f /client/src/app/shared/video/abstract-video-list.ts
parentefda99c30f2c04702bf57cc150cdfdd0acccc178 (diff)
downloadPeerTube-136cce4d6744bef7fd316b929157c1e4e3984fe3.tar.gz
PeerTube-136cce4d6744bef7fd316b929157c1e4e3984fe3.tar.zst
PeerTube-136cce4d6744bef7fd316b929157c1e4e3984fe3.zip
Use publishedAt by default in videos sort
Diffstat (limited to 'client/src/app/shared/video/abstract-video-list.ts')
-rw-r--r--client/src/app/shared/video/abstract-video-list.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/src/app/shared/video/abstract-video-list.ts b/client/src/app/shared/video/abstract-video-list.ts
index 642a85f65..d8a4b03af 100644
--- a/client/src/app/shared/video/abstract-video-list.ts
+++ b/client/src/app/shared/video/abstract-video-list.ts
@@ -24,8 +24,8 @@ export abstract class AbstractVideoList implements OnInit, OnDestroy {
24 itemsPerPage: 10, 24 itemsPerPage: 10,
25 totalItems: null 25 totalItems: null
26 } 26 }
27 sort: VideoSortField = '-createdAt' 27 sort: VideoSortField = '-publishedAt'
28 defaultSort: VideoSortField = '-createdAt' 28 defaultSort: VideoSortField = '-publishedAt'
29 syndicationItems = [] 29 syndicationItems = []
30 30
31 loadOnInit = true 31 loadOnInit = true