From 1425d524b9828eae1caacd49b3b03a74fd8aa299 Mon Sep 17 00:00:00 2001 From: David Cook Date: Wed, 10 Apr 2024 14:54:10 +1000 Subject: [PATCH] Fix product filtering Merges change from fb09a7f1e62d --- app/controllers/admin/products_v3_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/admin/products_v3_controller.rb b/app/controllers/admin/products_v3_controller.rb index 48751cf323..d328e4abfb 100644 --- a/app/controllers/admin/products_v3_controller.rb +++ b/app/controllers/admin/products_v3_controller.rb @@ -81,7 +81,7 @@ module Admin if @search_term.present? query.merge!(Spree::Variant::SEARCH_KEY => @search_term) end - query.merge!(primary_taxon_id_in: @category_id) if @category_id.present? + query.merge!(variants_primary_taxon_id_in: @category_id) if @category_id.present? query end