Also split search terms at “-” & “_”

Like we do when building the search string in `build-data.js`
nolan/hinaloe-test
Etienne Lemay 2016-10-14 15:47:48 -04:00
parent 44f9914b25
commit 996c46cd9c
1 changed files with 1 additions and 1 deletions

View File

@ -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) {