lib/blacklight/search_builder.rb in blacklight-7.17.2 vs lib/blacklight/search_builder.rb in blacklight-7.18.0

- old
+ new

@@ -43,9 +43,10 @@ end ## # Update the :q (query) parameter def where(conditions) + Deprecation.warn("SearchBuilder#where must be called with a hash, received #{conditions.inspect}.") unless conditions.is_a? Hash params_will_change! @search_state = @search_state.reset(@search_state.params.merge(q: conditions)) @blacklight_params = @search_state.params.dup @additional_filters = conditions self