diff --git a/app/models/cost_query/filter/tyear.rb b/app/models/cost_query/filter/tyear.rb index 5479ae5bac..43bd591d6e 100644 --- a/app/models/cost_query/filter/tyear.rb +++ b/app/models/cost_query/filter/tyear.rb @@ -3,6 +3,6 @@ class CostQuery::Filter::Tyear < CostQuery::Filter::Base label :label_year def self.available_values(user) - 1970.upto(Date.today.year).map {|i| [ l(label) + ' #' + i.to_s,i ]} + 1970.upto(Date.today.year).map {|i| [ l(label) + ' #' + i.to_s,i ]}.reverse end end