From bdbaca7a19b297af5a7962975ab34ee00f89a98e Mon Sep 17 00:00:00 2001 From: Josef Citrine Date: Sun, 28 Aug 2016 03:21:01 +0100 Subject: [PATCH] Attempted fix for paged track lists not having functional page lists --- .../assets/scripts/app/directives/paged-tracks-list.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/assets/scripts/app/directives/paged-tracks-list.coffee b/resources/assets/scripts/app/directives/paged-tracks-list.coffee index ef956b42..66958271 100644 --- a/resources/assets/scripts/app/directives/paged-tracks-list.coffee +++ b/resources/assets/scripts/app/directives/paged-tracks-list.coffee @@ -61,7 +61,7 @@ module.exports = angular.module('ponyfm').directive 'pfmPagedTracksList', () -> $scope.pageSelectorShown = false $scope.gotoPage = (page) -> - $state.transitionTo 'content.tracks.list', {filter: $state.params.filter, page: page} + $state.transitionTo $state.current.name, {filter: $state.params.filter, page: page} $scope.showPageSelector = () -> $scope.pageSelectorShown = true