Merge pull request #478 from foodcoop1040/god

Fix order by groups document after 020b75c
This commit is contained in:
wvengen 2017-06-28 21:12:48 +02:00 committed by GitHub
commit e366605dbe

View file

@ -86,7 +86,7 @@ class OrderByGroups < OrderPdf
def group_orders
order.group_orders.ordered.
joins(:ordergroup).order('groups.name').
includes(:ordergroup).order('groups.name').
preload(:group_order_articles => {:order_article => [:article, :article_price]})
end