Commit 1cca49df by Tran Hoang Viet

Merge remote-tracking branch 'origin/hotfix-1.0.1' into develop

parents ab57ecbf 084d72b3
...@@ -39,8 +39,8 @@ module Solr extend ActiveSupport::Concern ...@@ -39,8 +39,8 @@ module Solr extend ActiveSupport::Concern
escape = solr_options_data[:escape].present? escape = solr_options_data[:escape].present?
end end
value = Regexp.escape(value) if escape.present? value = %Q("#{value}") if escape.present?
str << "#{item.first}:(#{value})" << ' ' str << "#{item.first}:#{value}" << ' '
end end
results = rsolr.paginate( results = rsolr.paginate(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment