fixes the nonfunctional order

pull/6827/head
Jonas Heinrich 10 years ago
parent 3d392d6022
commit 5e50fc0f2f
  1. 2
      app/controllers/cost_types_controller.rb

@ -36,7 +36,7 @@ class CostTypesController < ApplicationController
"unit_plural" => "#{CostType.table_name}.unit_plural" }
sort_update sort_columns
@cost_types = CostType.find :all, :order => @sort_clause
@cost_types = CostType.find :all, :order => sort_clause
unless params[:clear_filter]
@fixed_date = Date.parse(params[:fixed_date]) rescue Date.today

Loading…
Cancel
Save