From d75715b650a67782ceda69ee04a31a460b5fe442 Mon Sep 17 00:00:00 2001 From: hjust Date: Mon, 1 Mar 2010 19:19:35 +0000 Subject: [PATCH] Fixed: Copy and paste error git-svn-id: https://dev.finn.de/svn/cockpit/trunk@543 7926756e-e54e-46e6-9721-ed318f58905e --- app/controllers/cost_reports_controller.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/controllers/cost_reports_controller.rb b/app/controllers/cost_reports_controller.rb index af5b511ec4..339dbd4057 100644 --- a/app/controllers/cost_reports_controller.rb +++ b/app/controllers/cost_reports_controller.rb @@ -256,7 +256,7 @@ private @entry_sum, @entry_count = [time_entry_sum, time_entry_count] @entry_pages = Paginator.new self, @entry_count, limit, params['page'] - @entries = TimeEntry.all({ :select => costs_where[TimeEntry.table_name], + @entries = TimeEntry.all({ :select => display_costs[TimeEntry.table_name], :order => (sort_clause if time_sort_column), :joins => [:issue, :activity, :user, :project], :conditions => time_where, @@ -268,7 +268,7 @@ private @entry_sum, @entry_count = [cost_entry_sum, cost_entry_count] @entry_pages = Paginator.new self, @entry_count, limit, params['page'] - @entries = CostEntry.all ({ :select => costs_where[CostEntry.table_name], + @entries = CostEntry.all ({ :select => display_costs[CostEntry.table_name], :order => (sort_clause if cost_sort_column), :joins => [:issue, :cost_type, :user, :project], :conditions => cost_where,