config/initializers/zoned_init.rb in spree_zoned-0.5.7 vs config/initializers/zoned_init.rb in spree_zoned-0.5.8

- old
+ new

@@ -1,5 +1,7 @@ +require "spree/zoned/search/base" + # # ZONED_COMMON_COUNTRIES is the list of countries that will be separately listed # in the beginning of the country select box for easy selection. # Edit the list to your liking. # @@ -32,5 +34,7 @@ ] Rails.configuration.commonCountriesForSelect = ZONED_COMMON_COUNTRIES.map do |id| [ Spree::Country.find_by_id(id).name, -id ] end + +Spree::Config.searcher_class = Spree::Zoned::Search::Base