Merge pull request #478 from foodcoop1040/god
Fix order by groups document after 020b75c
This commit is contained in:
commit
e366605dbe
1 changed files with 1 additions and 1 deletions
|
@ -86,7 +86,7 @@ class OrderByGroups < OrderPdf
|
||||||
|
|
||||||
def group_orders
|
def group_orders
|
||||||
order.group_orders.ordered.
|
order.group_orders.ordered.
|
||||||
joins(:ordergroup).order('groups.name').
|
includes(:ordergroup).order('groups.name').
|
||||||
preload(:group_order_articles => {:order_article => [:article, :article_price]})
|
preload(:group_order_articles => {:order_article => [:article, :article_price]})
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue