Mont Posted October 16, 2014 Posted October 16, 2014 I am having issues with the search function when searching by numbers. I need to search items like: 18-29-201 201 201.1.2 I am using admin to edit /wire/modules/Process/ProcessPageSearch/ProcessPageSearch.module and have added the fields to search and also tried changing the operators to =Equals and ~= Contains all the words with no luck or success. Am I in the right area? Cache?
Mont Posted October 16, 2014 Author Posted October 16, 2014 Yes I have tried them. It was originally set to *= I believe. I just noticed that this page is for admin use. Where would I look for front end?
Mont Posted October 16, 2014 Author Posted October 16, 2014 Looking at the search.php // Search the title and body fields for our query text. // Limit the results to 50 pages. $selector = "title|body~=$q, limit=50"; changing ~= to *= no luck to just = no luck %= Yeay it works! Woooooo Hooooo. Thanks for the idea!!!
apeisa Posted October 17, 2014 Posted October 17, 2014 I think others use full text search, which probably doesn't work with number strings like that.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now