opdsbrowser: fix Search (#14425)
This commit is contained in:
1 parent
e59df8eb2b
commit
f0af3aed2d
1 file changed
+2
-1
@@ -780,7 +780,8 @@ function OPDSBrowser:searchCatalog(item_url)
|
||||
self.catalog_title = _("Search results")
|
||||
local search_str = util.urlEncode(dialog:getInputText())
|
||||
-- Use function replacement to avoid % being treated as capture refs
|
||||
self:updateCatalog(item_url:gsub("%%s", function() return search_str end))
|
||||
item_url = item_url:gsub("%%s", function() return search_str end)
|
||||
self:updateCatalog(item_url)
|
||||
end,
|
||||
},
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user