Fix ordering of stock_changes in delivery 2

This commit is contained in:
Julius 2013-06-27 09:10:46 +02:00
parent d0ccf07bc5
commit 69060a6da6

View file

@ -15,7 +15,7 @@ module DeliveriesHelper
end end
def stock_articles_for_table(supplier) def stock_articles_for_table(supplier)
supplier.stock_articles.undeleted.reorder('articles.name COLLATE NOCASE ASC') supplier.stock_articles.undeleted.reorder('articles.name ASC')
end end
def stock_change_remove_link(stock_change_form) def stock_change_remove_link(stock_change_form)