Display total sums regardless of grouping option

pull/968/head
Till Breuer 11 years ago
parent b19a6f2d42
commit 614297627a
  1. 1
      app/assets/javascripts/angular/directives/work_packages/work-packages-table-directive.js
  2. 2
      public/templates/work_packages/work_packages_table.html

@ -27,7 +27,6 @@ angular.module('openproject.workPackages.directives')
scope.grouped = scope.groupByColumn !== undefined;
scope.groupExpanded = {};
scope.displaySums = scope.displaySums && scope.grouped; // only display sums when rows are grouped
}
};
}]);

@ -110,7 +110,7 @@
<tr work-package-group-sums
ng-repeat-end
ng-if="displaySums &&
ng-if="displaySums && grouped &&
($last || row.groupName !== rows[$index+1].groupName)"
ng-show="!grouped || groupExpanded[row.groupName]"
ng-class="[

Loading…
Cancel
Save