mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-27 01:43:22 +00:00
Remove unused join table
Enterprises used to have products and products have variants. But now enterprises have variants directly.
This commit is contained in:
@@ -104,7 +104,7 @@ module Api
|
||||
properties = Spree::Property
|
||||
.joins(
|
||||
producer_properties: {
|
||||
producer: { supplied_products: { variants: { exchanges: :order_cycle } } }
|
||||
producer: { supplied_variants: { exchanges: :order_cycle } }
|
||||
}
|
||||
)
|
||||
.merge(Exchange.outgoing)
|
||||
|
||||
Reference in New Issue
Block a user