oops, use varargs

This commit is contained in:
osmarks 2018-08-16 10:46:46 +01:00
parent faf40cfb41
commit 78ec9193aa
1 changed files with 2 additions and 2 deletions

View File

@ -97,8 +97,8 @@ local commands = {
reindex = function()
w.unwrap(w.query_by_type("storage", { type = "reindex" }), "requesting reindexing")
end,
quantity = function(query_tokens)
local query = table.concat(query_tokens, " ")
quantity = function(...)
local query = table.concat({...}, " ")
local items = w.unwrap(w.query_by_type("storage", {
type = "search",