Disable legacy experimental calls

pull/4159/head
Oliver Günther 9 years ago committed by Jens Ulferts
parent 44fcdc74f4
commit cb433a6ca9
  1. 6
      frontend/app/components/work-packages/work-package.service.js
  2. 5
      frontend/app/work_packages/directives/query-columns-directive.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);
});
});

@ -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'); });
}
}
};

Loading…
Cancel
Save