Remove is_master and not_master scopes

(cherry picked from commit 1daab8994d)
This commit is contained in:
Matt-Yorkley
2023-06-05 12:50:40 +01:00
committed by David Cook
parent 5b73ccb213
commit aa9fd682d8
13 changed files with 9 additions and 19 deletions

View File

@@ -181,7 +181,6 @@ module Spree
joins(:product).
where('spree_products.supplier_id IN (?)', editable_enterprises.collect(&:id)).
where('spree_variants.import_date IS NOT NULL').
where(spree_variants: { is_master: false }).
where(spree_variants: { deleted_at: nil }).
order('spree_variants.import_date DESC')
end