changed group_bys to have correct values for label- and applies_for- methods

git-svn-id: https://dev.finn.de/svn/cockpit/branches/reporting_merge@1356 7926756e-e54e-46e6-9721-ed318f58905e
pull/6827/head
p.tessenow 15 years ago
parent 873aa29beb
commit f52c0b8f19
  1. 1
      app/models/cost_query/group_by/activity_id.rb
  2. 2
      app/models/cost_query/group_by/cost_object_id.rb
  3. 1
      app/models/cost_query/group_by/cost_type_id.rb
  4. 1
      app/models/cost_query/group_by/issue_id.rb
  5. 1
      app/models/cost_query/group_by/project_id.rb
  6. 1
      app/models/cost_query/group_by/spent_on.rb
  7. 1
      app/models/cost_query/group_by/tmonth.rb
  8. 2
      app/models/cost_query/group_by/tracker_id.rb
  9. 1
      app/models/cost_query/group_by/tweek.rb
  10. 1
      app/models/cost_query/group_by/tyear.rb
  11. 1
      app/models/cost_query/group_by/user_id.rb

@ -1,4 +1,5 @@
module CostQuery::GroupBy
class ActivityId < Base
label :field_activity
end
end

@ -1,5 +1,7 @@
module CostQuery::GroupBy
class CostObjectId < Base
join_table Issue
applies_for :label_issue
label :field_cost_object
end
end

@ -1,4 +1,5 @@
module CostQuery::GroupBy
class CostTypeId < Base
label :field_cost_type
end
end

@ -1,4 +1,5 @@
module CostQuery::GroupBy
class IssueId < Base
label :field_issue
end
end

@ -1,4 +1,5 @@
module CostQuery::GroupBy
class ProjectId < Base
label :field_project
end
end

@ -1,4 +1,5 @@
module CostQuery::GroupBy
class SpentOn < Base
label :field_spent_on
end
end

@ -1,4 +1,5 @@
module CostQuery::GroupBy
class Tmonth < Base
label :label_month
end
end

@ -1,5 +1,7 @@
module CostQuery::GroupBy
class TrackerId < Base
join_table Issue
applies_for :label_issue
label :field_tracker
end
end

@ -1,4 +1,5 @@
module CostQuery::GroupBy
class Tweek < Base
label :label_week
end
end

@ -1,4 +1,5 @@
module CostQuery::GroupBy
class Tyear < Base
label :label_year
end
end

@ -1,4 +1,5 @@
module CostQuery::GroupBy
class UserId < Base
label :field_user
end
end

Loading…
Cancel
Save