Remove shipping_category N+1 from packing reports

This commit is contained in:
Matt-Yorkley
2019-11-29 17:11:40 +01:00
parent 38c327dae0
commit 9bcd303f4f

View File

@@ -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