Also split search terms at “-” & “_”
Like we do when building the search string in `build-data.js`nolan/hinaloe-test
parent
44f9914b25
commit
996c46cd9c
|
@ -24,7 +24,7 @@ function search(value, maxResults = 75) {
|
|||
var results = null
|
||||
|
||||
if (value.length) {
|
||||
var values = value.toLowerCase().split(/[\s|,]+/),
|
||||
var values = value.toLowerCase().split(/[\s|,|\-|_]+/),
|
||||
allResults = []
|
||||
|
||||
if (values.length > 2) {
|
||||
|
|
Loading…
Reference in New Issue