From 15ab486a50465574066bc0c82ec14b18392688b4 Mon Sep 17 00:00:00 2001 From: Josef Citrine Date: Tue, 16 May 2017 22:23:27 +0100 Subject: [PATCH] Fixed page bug --- .../assets/scripts/app/directives/paged-tracks-list.coffee | 4 ---- 1 file changed, 4 deletions(-) diff --git a/resources/assets/scripts/app/directives/paged-tracks-list.coffee b/resources/assets/scripts/app/directives/paged-tracks-list.coffee index 5713620a..240da7bf 100644 --- a/resources/assets/scripts/app/directives/paged-tracks-list.coffee +++ b/resources/assets/scripts/app/directives/paged-tracks-list.coffee @@ -54,10 +54,6 @@ module.exports = angular.module('ponyfm').directive 'pfmPagedTracksList', () -> $scope.newClickOverride = (id) -> $scope.clickOverride({id: id}) - tracks.loadFilters().then( - tracks.mainQuery.fromFilterString($state.params.filter) - ) - typeEnum = switch when $scope.type == 'normal' then tracks.FetchType.NORMAL when $scope.type == 'all' then tracks.FetchType.ALL