Sha256: e9d5e49eb70ec703ca24d2f0c749cc2bdfb96bd42a0a2fd1d436d83113020ad8

Contents?: true

Size: 350 Bytes

Versions: 123

Compression:

Stored size: 350 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.current_currency = current_currency
          end
        end
      end
    end
  end
end

Version data entries

123 entries across 123 versions & 1 rubygems

Version Path
spree_core-4.0.9 lib/spree/core/controller_helpers/search.rb
spree_core-4.1.15 lib/spree/core/controller_helpers/search.rb
spree_core-4.1.14 lib/spree/core/controller_helpers/search.rb
spree_core-4.0.8 lib/spree/core/controller_helpers/search.rb
spree_core-3.7.14.1 lib/spree/core/controller_helpers/search.rb
spree_core-4.1.13.1 lib/spree/core/controller_helpers/search.rb
spree_core-4.0.7.1 lib/spree/core/controller_helpers/search.rb
spree_core-4.0.7 lib/spree/core/controller_helpers/search.rb
spree_core-3.7.14 lib/spree/core/controller_helpers/search.rb
spree_core-4.2.0.rc5 lib/spree/core/controller_helpers/search.rb
spree_core-4.2.0.rc4 lib/spree/core/controller_helpers/search.rb
spree_core-4.2.0.rc3 lib/spree/core/controller_helpers/search.rb
spree_core-4.1.13 lib/spree/core/controller_helpers/search.rb
spree_core-4.0.6 lib/spree/core/controller_helpers/search.rb
spree_core-4.2.0.rc2 lib/spree/core/controller_helpers/search.rb
spree_core-3.7.13 lib/spree/core/controller_helpers/search.rb
spree_core-4.0.5 lib/spree/core/controller_helpers/search.rb
spree_core-4.1.12 lib/spree/core/controller_helpers/search.rb
spree_core-3.7.12 lib/spree/core/controller_helpers/search.rb
spree_core-4.2.0.rc1 lib/spree/core/controller_helpers/search.rb