diff --git a/lib/reporting/reports/orders_and_fulfillment/base.rb b/lib/reporting/reports/orders_and_fulfillment/base.rb index f31514b74d..887a39c5a1 100644 --- a/lib/reporting/reports/orders_and_fulfillment/base.rb +++ b/lib/reporting/reports/orders_and_fulfillment/base.rb @@ -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