Fix table.move usage in query_cached

This commit is contained in:
vnnh 2025-01-03 23:58:40 -06:00 committed by GitHub
parent aafafc90b2
commit b7e4c0b363
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1589,7 +1589,7 @@ local function query_cached(query: QueryInner)
local with = query.filter_with
local ids = query.ids
if with then
table.move(ids, 1, #ids, #with, with)
table.move(ids, 1, #ids, #with + 1, with)
else
query.filter_with = ids
end