Fix display sums when a query is loaded

pull/1104/head
Till Breuer 11 years ago
parent 7b3c0cc04e
commit 9fcf49352e
  1. 2
      app/assets/javascripts/angular/models/query.js
  2. 2
      app/views/work_packages/_list.html.erb
  3. 2
      public/templates/work_packages/work_packages_options.html

@ -179,7 +179,7 @@ angular.module('openproject.models')
clearAll: function(){
this.groupBy = '';
this.display_sums = false;
this.displaySums = false;
this.id = null;
this.clearFilters();
},

@ -39,7 +39,7 @@ See doc/COPYRIGHT.rdoc for more details.
group-by="query.groupBy"
group-by-column="groupByColumn"
count-by-group="workPackageCountByGroup"
display-sums="query.display_sums"
display-sums="query.displaySums"
total-sums="totalSums"
group-sums="groupSums"
class="list issues"

@ -49,7 +49,7 @@
name="display_sums"
type="checkbox"
value="1"
ng-model="query.display_sums"/>
ng-model="query.displaySums"/>
</div>
</div>

Loading…
Cancel
Save