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

@@ -33,7 +33,6 @@ module Reporting
def child_variants
Spree::Variant.
where(is_master: false).
joins(:product).
merge(visible_products).
order('spree_products.name')