Changed search behavior. @mrflix would be cool to combine those somehow and prioritize better matching ones?
This commit is contained in:
parent
57ef3f34d7
commit
b38b98d915
1 changed files with 1 additions and 1 deletions
|
@ -103,7 +103,7 @@ class App.SearchableSelect extends Spine.Controller
|
|||
@filterByQuery query
|
||||
|
||||
filterByQuery: (query) ->
|
||||
regex = new RegExp(query.split('').join('.*'), 'i')
|
||||
regex = new RegExp(query.split(' ').join('.*'), 'i')
|
||||
|
||||
@values
|
||||
.addClass 'is-hidden'
|
||||
|
|
Loading…
Reference in a new issue