Sha256: ee9d9d72ec3e78fe4d8f3db68aadc83e14debafafeff26d65dad7d0ee0ac717d

Contents?: true

Size: 250 Bytes

Versions: 28

Compression:

Stored size: 250 Bytes

Contents

module Spree
  module SearchHelper
    def search_options
      options = {}
      return options if params[:search].nil?
      params[:search].each do |name, value|
        options["search[#{name}]"] = value
      end
      options
    end
  end
end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
spree_core-1.2.5 app/helpers/spree/search_helper.rb
spree_core-1.1.6 app/helpers/spree/search_helper.rb
spree_core-1.1.5 app/helpers/spree/search_helper.rb
spree_core-1.2.4 app/helpers/spree/search_helper.rb
spree_core-1.0.7 app/helpers/spree/search_helper.rb
spree_core-1.2.3 app/helpers/spree/search_helper.rb
spree_core-1.2.2 app/helpers/spree/search_helper.rb
spree_core-1.1.4 app/helpers/spree/search_helper.rb
spree_core-1.2.0 app/helpers/spree/search_helper.rb
spree_core-1.2.0.rc2 app/helpers/spree/search_helper.rb
spree_core-1.2.0.rc1 app/helpers/spree/search_helper.rb
spree_core-1.1.3 app/helpers/spree/search_helper.rb
spree_core-1.0.6 app/helpers/spree/search_helper.rb
spree_core-1.1.2 app/helpers/spree/search_helper.rb
spree_core-1.1.2.rc1 app/helpers/spree/search_helper.rb
spree_core-1.1.1 app/helpers/spree/search_helper.rb
spree_core-1.1.0 app/helpers/spree/search_helper.rb
spree_core-1.0.4 app/helpers/spree/search_helper.rb
spree_core-1.1.0.rc2 app/helpers/spree/search_helper.rb
spree_core-1.1.0.rc1 app/helpers/spree/search_helper.rb