reverse column and rows in reporting view, to make the inputs more intuitive

git-svn-id: https://dev.finn.de/svn/cockpit/branches/reporting_merge@1362 7926756e-e54e-46e6-9721-ed318f58905e
pull/6827/head
p.tessenow 15 years ago
parent 83dc3c9161
commit 9b5ade3eb6
  1. 4
      app/controllers/cost_reports_controller.rb

@ -85,8 +85,8 @@ class CostReportsController < ApplicationController
:values => filters[:values][filter])
end
end
groups[:rows].each {|r| @query.row(r) }
groups[:columns].each {|c| @query.column(c) }
groups[:rows].reverse_each {|r| @query.row(r) }
groups[:columns].reverse_each {|c| @query.column(c) }
@query
end

Loading…
Cancel
Save