mirror of
https://github.com/CapsAdmin/pac3.git
synced 2025-03-04 03:03:01 -05:00
don't use string patterns when doing property searching
This commit is contained in:
parent
02d0342fa6
commit
6f1c52924e
@ -83,7 +83,7 @@ function pace.CreateSearchList(property, key, name, add_columns, get_list, get_c
|
||||
|
||||
for i, data in ipairs(newList) do
|
||||
local key, val, keyFriendly, valFriendly = data[1], data[2], data[3], data[4]
|
||||
if (not find or find == "") or tostring(select_value_search(valFriendly, keyFriendly)):lower():find(find) then
|
||||
if (not find or find == "") or tostring(select_value_search(valFriendly, keyFriendly)):lower():find(find, nil, true) then
|
||||
|
||||
local pnl = add_line(list, key, val)
|
||||
pnl.list_key = key
|
||||
|
Loading…
Reference in New Issue
Block a user