itemsPerPage: 10,
totalItems: null
}
- sort: VideoSortField = '-createdAt'
- defaultSort: VideoSortField = '-createdAt'
+ sort: VideoSortField = '-publishedAt'
+ defaultSort: VideoSortField = '-publishedAt'
syndicationItems = []
loadOnInit = true
export class VideoLocalComponent extends AbstractVideoList implements OnInit, OnDestroy {
titlePage = 'Local videos'
currentRoute = '/videos/local'
- sort = '-createdAt' as VideoSortField
+ sort = '-publishedAt' as VideoSortField
filter: VideoFilter = 'local'
constructor (protected router: Router,
export class VideoRecentlyAddedComponent extends AbstractVideoList implements OnInit, OnDestroy {
titlePage = 'Recently added'
currentRoute = '/videos/recently-added'
- sort: VideoSortField = '-createdAt'
+ sort: VideoSortField = '-publishedAt'
constructor (protected router: Router,
protected route: ActivatedRoute,
JOBS: [ 'createdAt' ],
VIDEO_ABUSES: [ 'id', 'createdAt' ],
VIDEO_CHANNELS: [ 'id', 'name', 'updatedAt', 'createdAt' ],
- VIDEOS: [ 'name', 'duration', 'createdAt', 'views', 'likes' ],
+ VIDEOS: [ 'name', 'duration', 'createdAt', 'publishedAt', 'views', 'likes' ],
VIDEO_COMMENT_THREADS: [ 'createdAt' ],
BLACKLISTS: [ 'id', 'name', 'duration', 'views', 'likes', 'dislikes', 'uuid', 'createdAt' ],
FOLLOWERS: [ 'createdAt' ],