Changed default order of articles on balancing page.

This commit is contained in:
Benjamin Meichsner 2009-05-04 17:56:52 +02:00
parent e8fa912e8c
commit 4c57c57827

View file

@ -24,7 +24,7 @@ class Finance::BalancingController < ApplicationController
when "order_number_reverse" then "articles.order_number DESC" when "order_number_reverse" then "articles.order_number DESC"
end end
else else
sort = "articles.name" sort = "id"
end end
@articles = @order.order_articles.ordered.find( @articles = @order.order_articles.ordered.find(