Permalink
Browse files

Remove commented-out ProductGroup code from search/base

  • Loading branch information...
1 parent d4d7e97 commit a2e6030bae294cbd870fdcbea465dfd353273c67 @radar radar committed Jun 4, 2012
Showing with 0 additions and 12 deletions.
  1. +0 −12 core/lib/spree/core/search/base.rb
@@ -61,18 +61,6 @@ def prepare(params)
per_page = params[:per_page].to_i
@properties[:per_page] = per_page > 0 ? per_page : Spree::Config[:products_per_page]
@properties[:page] = (params[:page].to_i <= 0) ? 1 : params[:page].to_i
-
- # if !params[:order_by_price].blank?
- # @product_group = Spree::ProductGroup.new.from_route([params[:order_by_price] + '_by_master_price'])
- # elsif params[:product_group_name]
- # @cached_product_group = Spree::ProductGroup.find_by_permalink(params[:product_group_name])
- # @product_group = Spree::ProductGroup.new
- # elsif params[:product_group_query]
- # @product_group = Spree::ProductGroup.new.from_route(params[:product_group_query].split('/'))
- # else
- # @product_group = Spree::ProductGroup.new
- # end
- # @product_group = @product_group.from_search(params[:search]) if params[:search]
end
end
end

0 comments on commit a2e6030

Please sign in to comment.