diff options
Diffstat (limited to 'client/angular/videos/components/list/videos-list.component.ts')
-rw-r--r-- | client/angular/videos/components/list/videos-list.component.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client/angular/videos/components/list/videos-list.component.ts b/client/angular/videos/components/list/videos-list.component.ts index 98fe7b153..db64a856e 100644 --- a/client/angular/videos/components/list/videos-list.component.ts +++ b/client/angular/videos/components/list/videos-list.component.ts | |||
@@ -27,7 +27,7 @@ export class VideosListComponent implements OnInit { | |||
27 | currentPage: 1, | 27 | currentPage: 1, |
28 | itemsPerPage: 9, | 28 | itemsPerPage: 9, |
29 | total: 0 | 29 | total: 0 |
30 | } | 30 | }; |
31 | sort: SortField; | 31 | sort: SortField; |
32 | 32 | ||
33 | private search: Search; | 33 | private search: Search; |
@@ -41,7 +41,7 @@ export class VideosListComponent implements OnInit { | |||
41 | this.search = { | 41 | this.search = { |
42 | value: this._routeParams.get('search'), | 42 | value: this._routeParams.get('search'), |
43 | field: <SearchField>this._routeParams.get('field') | 43 | field: <SearchField>this._routeParams.get('field') |
44 | } | 44 | }; |
45 | 45 | ||
46 | this.sort = <SortField>this._routeParams.get('sort') || '-createdDate'; | 46 | this.sort = <SortField>this._routeParams.get('sort') || '-createdDate'; |
47 | } | 47 | } |