Merge remote-tracking branch 'myk002/quickfort_filter' into develop

develop
lethosor 2020-08-21 00:34:34 -04:00
commit c034276af5
No known key found for this signature in database
GPG Key ID: 76A269552F4F58C1
1 changed files with 2 additions and 1 deletions

@ -792,7 +792,8 @@ function FilteredList:setFilter(filter, pos)
local ok = true
local search_key = v.search_key or v.text
for _,key in ipairs(tokens) do
if key ~= '' and not string.match(search_key, '%f[^%s\x00]'..key) then
if key ~= '' and
not string.match(search_key, '%f[^%s%p\x00]'..key) then
ok = false
break
end