Commit 246f2c6b by Thanh Hung Pham

Remove speacial characters search

parent bc15b910
......@@ -11,7 +11,7 @@ class JobsController < ApplicationController
rsolr = RSolr.connect url: 'http://localhost:8983/solr/veNJOBDATA/'
response = rsolr.get 'select', params: {
q: @search_conditions
q: @search_conditions.gsub(/\s[^0-9a-z ]/i, '')
}
@job_ids = []
......
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