mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-08 22:56:06 +00:00
Remove shipping_category N+1 from packing reports
This commit is contained in:
@@ -126,7 +126,8 @@ module OpenFoodNetwork
|
||||
|
||||
def line_item_includes
|
||||
[{ order: [:bill_address, :distributor, :customer],
|
||||
variant: [{ option_values: :option_type }, { product: :supplier }] }]
|
||||
variant: [{ option_values: [:option_type] },
|
||||
{ product: [:supplier, :shipping_category] }] }]
|
||||
end
|
||||
|
||||
def permissions
|
||||
|
||||
Reference in New Issue
Block a user