diff --git a/frontend/app/components/work-packages/work-package.service.js b/frontend/app/components/work-packages/work-package.service.js index 083a6f76a6..0790e0b3f6 100644 --- a/frontend/app/components/work-packages/work-package.service.js +++ b/frontend/app/components/work-packages/work-package.service.js @@ -228,11 +228,11 @@ function WorkPackageService($http, PathHelper, UrlParamsHelper, WorkPackagesHelp var columnsMeta = data.columns_meta; angular.forEach(columns, function(column, i){ - column.total_sum = columnsMeta.total_sums[i]; - if (columnsMeta.group_sums) column.group_sums = columnsMeta.group_sums[i]; + //column.total_sum = columnsMeta.total_sums[i]; + //if (columnsMeta.group_sums) column.group_sums = columnsMeta.group_sums[i]; angular.forEach(workPackages, function(workPackage, j) { - WorkPackagesHelper.augmentWorkPackageWithData(workPackage, column.name, !!column.custom_field, columnsData[i][j]); + WorkPackagesHelper.augmentWorkPackageWithData(workPackage, column.name, !!column.custom_field); }); }); diff --git a/frontend/app/work_packages/directives/query-columns-directive.js b/frontend/app/work_packages/directives/query-columns-directive.js index de93eef4fa..150784e9ea 100644 --- a/frontend/app/work_packages/directives/query-columns-directive.js +++ b/frontend/app/work_packages/directives/query-columns-directive.js @@ -68,8 +68,9 @@ module.exports = function(WorkPackagesTableHelper, WorkPackagesTableService, Wor var newColumns = WorkPackagesTableHelper.selectColumnsByName(scope.columns, columnNames); - WorkPackageService.augmentWorkPackagesWithColumnsData(workPackages, newColumns, groupBy) - .then(function(){ scope.$emit('queryStateChange'); }); + scope.$emit('queryStateChange'); + // WorkPackageService.augmentWorkPackagesWithColumnsData(workPackages, newColumns, groupBy) + // .then(function(){ scope.$emit('queryStateChange'); }); } } };