From b56ff377ac3f4da9c20ca6f7ebe2fb02f38f5e7a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oliver=20G=C3=BCnther?= Date: Tue, 3 May 2016 15:32:59 +0200 Subject: [PATCH] Load available columns from current project, when applicable --- .../components/modals/columns-modal/columns-modal.controller.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/app/components/modals/columns-modal/columns-modal.controller.js b/frontend/app/components/modals/columns-modal/columns-modal.controller.js index 9ab6fb37ff..7c3a7ce0f0 100644 --- a/frontend/app/components/modals/columns-modal/columns-modal.controller.js +++ b/frontend/app/components/modals/columns-modal/columns-modal.controller.js @@ -55,7 +55,7 @@ function ColumnsModalController($scope, columnsModal, QueryService, WorkPackageS var selectedColumns = QueryService.getSelectedColumns(); // Available selectable Columns - vm.promise = QueryService.loadAvailableColumns() + vm.promise = QueryService.loadAvailableColumns($scope.projectIdentifier) .then(function(availableColumns){ vm.availableColumns = availableColumns; // all existing columns vm.unusedColumns = QueryService.selectUnusedColumns(availableColumns); // columns not shown