mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-27 01:43:22 +00:00
Group by e.order.distributor_id on Orders & Fulfillment Reports
This commit is contained in:
@@ -23,7 +23,7 @@ module Reporting
|
||||
|
||||
def query_result
|
||||
report_line_items.list(line_item_includes).group_by { |e|
|
||||
[e.variant_id, e.price]
|
||||
[e.variant_id, e.price, e.order.distributor_id]
|
||||
}.values
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user