fixed bug: the default_query tried to set the old tweek group_by instead the new one

git-svn-id: https://dev.finn.de/svn/cockpit/branches/reporting_merge@1463 7926756e-e54e-46e6-9721-ed318f58905e
pull/6827/head
p.tessenow 14 years ago
parent c9358eb011
commit 30b0704bc5
  1. 2
      app/controllers/cost_reports_controller.rb

@ -65,7 +65,7 @@ class CostReportsController < ApplicationController
##
# Set a default query to cut down initial load time
def default_group_parameters
{:columns => [:tweek], :rows => []}.tap do |h|
{:columns => [:week], :rows => []}.tap do |h|
h[:rows] << :project_id unless @project
end
end

Loading…
Cancel
Save