mirror of
https://github.com/minetest-mods/i3.git
synced 2025-01-13 19:50:31 +01:00
Small fix for search filters
This commit is contained in:
parent
6f588e1927
commit
34841eddf3
2
init.lua
2
init.lua
@ -587,6 +587,8 @@ local function search(data)
|
|||||||
local filters = {}
|
local filters = {}
|
||||||
|
|
||||||
if search_filter then
|
if search_filter then
|
||||||
|
search_filter = search_filter:trim()
|
||||||
|
|
||||||
for filter_name, values in gmatch(filter, sub(opt, 6)) do
|
for filter_name, values in gmatch(filter, sub(opt, 6)) do
|
||||||
if search_filters[filter_name] then
|
if search_filters[filter_name] then
|
||||||
values = split(values, ",")
|
values = split(values, ",")
|
||||||
|
Loading…
Reference in New Issue
Block a user