Sha256: e22a4cf667019e95addf7b97e66cd59b3d8d24f8f91d5522173285c2e206f81b

Contents?: true

Size: 356 Bytes

Versions: 43

Compression:

Stored size: 356 Bytes

Contents

module Spree
  module Core
    module ControllerHelpers
      module Search
        def build_searcher(params)
          Spree::Config.searcher_class.new(params).tap do |searcher|
            searcher.current_user = try_spree_current_user
            searcher.pricing_options = current_pricing_options
          end
        end
      end
    end
  end
end

Version data entries

43 entries across 43 versions & 1 rubygems

Version Path
solidus_core-2.3.0.rc1 lib/spree/core/controller_helpers/search.rb
solidus_core-2.3.0.beta1 lib/spree/core/controller_helpers/search.rb
solidus_core-2.0.2 lib/spree/core/controller_helpers/search.rb
solidus_core-1.4.1 lib/spree/core/controller_helpers/search.rb
solidus_core-2.2.1 lib/spree/core/controller_helpers/search.rb
solidus_core-2.2.0 lib/spree/core/controller_helpers/search.rb
solidus_core-2.2.0.rc1 lib/spree/core/controller_helpers/search.rb
solidus_core-2.2.0.beta1 lib/spree/core/controller_helpers/search.rb
solidus_core-2.1.0 lib/spree/core/controller_helpers/search.rb
solidus_core-2.1.0.rc1 lib/spree/core/controller_helpers/search.rb
solidus_core-2.0.1 lib/spree/core/controller_helpers/search.rb
solidus_core-2.1.0.beta1 lib/spree/core/controller_helpers/search.rb
solidus_core-2.0.0 lib/spree/core/controller_helpers/search.rb
solidus_core-1.4.0 lib/spree/core/controller_helpers/search.rb
solidus_core-2.0.0.rc1 lib/spree/core/controller_helpers/search.rb
solidus_core-1.4.0.rc1 lib/spree/core/controller_helpers/search.rb
solidus_core-2.0.0.beta1 lib/spree/core/controller_helpers/search.rb
solidus_core-1.4.0.beta1 lib/spree/core/controller_helpers/search.rb
solidus_core-1.3.1 lib/spree/core/controller_helpers/search.rb
solidus_core-1.3.0 lib/spree/core/controller_helpers/search.rb