Merge pull request #4387 from oliverguenther/fix/23080/available-columns

Load available columns from current project, when applicable
pull/4405/head
ulferts 9 years ago
commit bb07e1bd70
  1. 2
      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

Loading…
Cancel
Save