]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/shared/video/abstract-video-list.ts
category parma -> categoryOneOf (videos list)
[github/Chocobozzz/PeerTube.git] / client / src / app / shared / video / abstract-video-list.ts
index d60536e20e5d71728910f4ec328ebdc02d2bf3ee..59d3c1ebee18a9dc1c1cc87a981d2ba2b0acdd3b 100644 (file)
@@ -24,7 +24,7 @@ export abstract class AbstractVideoList implements OnInit, OnDestroy {
     totalItems: null
   }
   sort: VideoSortField = '-publishedAt'
-  category?: number
+  categoryOneOf?: number
   defaultSort: VideoSortField = '-publishedAt'
   syndicationItems = []
 
@@ -168,7 +168,7 @@ export abstract class AbstractVideoList implements OnInit, OnDestroy {
 
   protected loadRouteParams (routeParams: { [ key: string ]: any }) {
     this.sort = routeParams['sort'] as VideoSortField || this.defaultSort
-    this.category = routeParams['category']
+    this.categoryOneOf = routeParams['categoryOneOf']
     if (routeParams['page'] !== undefined) {
       this.pagination.currentPage = parseInt(routeParams['page'], 10)
     } else {