Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

file 12 lines (11 sloc) 0.496 kb
1 2 3 4 5 6 7 8 9 10 11 12
# Take a look at the Spree::Search::SpreeSunspot::Configuration class for details
# it is important that all 'block fields' return an empty string and not nil

# Spree::Search::SpreeSunspot.configure do |conf|
# conf.price_ranges = []
# conf.option_facets = []
# conf.property_facets = []
# conf.other_facets = []
# conf.show_facets = []
# conf.fields = [ { :type => :text, :name => :isbn, :opts => { :block => Proc.new { |p| p.property('isbn') } } } ]
# conf.sort_fields = {}
# end
Something went wrong with that request. Please try again.