Merge pull request #10362 from opf/fix/41453/valid-subset-filters

[41453] Use valid_values! to get assignee count
pull/10364/head
ulferts 3 years ago committed by GitHub
commit f315b5d408
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      modules/team_planner/app/cells/team_planner/row_cell.rb

@ -49,7 +49,7 @@ module TeamPlanner
query
.filters
.detect { |filter| filter.name == :assigned_to_id }
.then { |filter| filter ? filter.values.count : 0 }
.then { |filter| filter ? filter.valid_values!.count : 0 }
end
def button_links

Loading…
Cancel
Save