Small fix for search filters

This commit is contained in:
Jean-Patrick Guerrero 2021-06-30 21:41:38 +02:00
parent 6f588e1927
commit 34841eddf3
1 changed files with 2 additions and 0 deletions

View File

@ -587,6 +587,8 @@ local function search(data)
local filters = {}
if search_filter then
search_filter = search_filter:trim()
for filter_name, values in gmatch(filter, sub(opt, 6)) do
if search_filters[filter_name] then
values = split(values, ",")