OpenProject is the leading open source project management software.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
openproject/app/models/cost_query/group_by/ruby_aggregation.rb

13 lines
268 B

class CostQuery::GroupBy
module RubyAggregation
def responsible_for_sql?
false
end
##
# @return [CostQuery::Result] aggregation
def compute_result
child.result.grouped_by(all_group_fields(false), type, group_fields)
end
end
end