Sha256: a5cb3a0b41650db70e4687e335d451555c1d9892beef830256349eeb41f5aa6b

Contents?: true

Size: 383 Bytes

Versions: 46

Compression:

Stored size: 383 Bytes

Contents

# frozen_string_literal: true

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

Version data entries

46 entries across 46 versions & 1 rubygems

Version Path
solidus_core-4.4.1 lib/spree/core/controller_helpers/search.rb
solidus_core-4.4.0 lib/spree/core/controller_helpers/search.rb
solidus_core-4.3.4 lib/spree/core/controller_helpers/search.rb
solidus_core-4.2.4 lib/spree/core/controller_helpers/search.rb
solidus_core-4.1.5 lib/spree/core/controller_helpers/search.rb
solidus_core-4.3.3 lib/spree/core/controller_helpers/search.rb
solidus_core-4.3.2 lib/spree/core/controller_helpers/search.rb
solidus_core-4.1.4 lib/spree/core/controller_helpers/search.rb
solidus_core-4.3.1 lib/spree/core/controller_helpers/search.rb
solidus_core-4.3.0 lib/spree/core/controller_helpers/search.rb
solidus_core-4.2.3 lib/spree/core/controller_helpers/search.rb
solidus_core-4.1.3 lib/spree/core/controller_helpers/search.rb
solidus_core-4.0.4 lib/spree/core/controller_helpers/search.rb
solidus_core-3.4.6 lib/spree/core/controller_helpers/search.rb
solidus_core-4.0.3 lib/spree/core/controller_helpers/search.rb
solidus_core-4.1.2 lib/spree/core/controller_helpers/search.rb
solidus_core-4.2.2 lib/spree/core/controller_helpers/search.rb
solidus_core-3.4.5 lib/spree/core/controller_helpers/search.rb
solidus_core-4.2.1 lib/spree/core/controller_helpers/search.rb
solidus_core-4.2.0 lib/spree/core/controller_helpers/search.rb