diff --git a/app/assets/javascripts/angular/controllers/work-packages-controller.js b/app/assets/javascripts/angular/controllers/work-packages-controller.js index ea58babdd6..4c642fedeb 100644 --- a/app/assets/javascripts/angular/controllers/work-packages-controller.js +++ b/app/assets/javascripts/angular/controllers/work-packages-controller.js @@ -130,7 +130,7 @@ angular.module('openproject.workPackages.controllers') $scope.query_id = queryId; $scope.withLoading(WorkPackageService.getWorkPackagesByQueryId, [$scope.projectIdentifier, $scope.query_id]) - .then($scope.setupWorkPackagesTable) + .then(setupWorkPackagesTable) .then(initAvailableQueries) .then(initAvailableColumns); };