config/initializers/configuration.rb in workarea-content_search-1.0.9 vs config/initializers/configuration.rb in workarea-content_search-1.1.0
- old
+ new
@@ -14,6 +14,10 @@
config.exclude_from_content_search_index = %w(
Workarea::Catalog::Category
Workarea::Search::Customization
Workarea::Navigation::Menu
)
+
+ if Workarea::Plugin.installed?(:search_autocomplete)
+ config.storefront_search_autocomplete_max_content = 5
+ end
end