oops, use varargs
This commit is contained in:
parent
faf40cfb41
commit
78ec9193aa
@ -97,8 +97,8 @@ local commands = {
|
|||||||
reindex = function()
|
reindex = function()
|
||||||
w.unwrap(w.query_by_type("storage", { type = "reindex" }), "requesting reindexing")
|
w.unwrap(w.query_by_type("storage", { type = "reindex" }), "requesting reindexing")
|
||||||
end,
|
end,
|
||||||
quantity = function(query_tokens)
|
quantity = function(...)
|
||||||
local query = table.concat(query_tokens, " ")
|
local query = table.concat({...}, " ")
|
||||||
|
|
||||||
local items = w.unwrap(w.query_by_type("storage", {
|
local items = w.unwrap(w.query_by_type("storage", {
|
||||||
type = "search",
|
type = "search",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user