Skip to content

Commit

Permalink
Fix product filtering
Browse files Browse the repository at this point in the history
Merges change from fb09a7f
  • Loading branch information
dacook committed Apr 10, 2024
1 parent 5c4d656 commit 4b5f169
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/admin/products_v3_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def ransack_query
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

Expand Down

0 comments on commit 4b5f169

Please sign in to comment.