mirror of
https://github.com/bjc/prosody.git
synced 2025-04-03 21:27:38 +03:00
mod_storage_internal, tests: Fix before/after combined with the 'reverse' flag
This commit is contained in:
parent
9dd7726419
commit
4b0463968a
2 changed files with 25 additions and 0 deletions
|
@ -180,6 +180,7 @@ function archive:find(username, query)
|
|||
i = i - 1
|
||||
return list[i]
|
||||
end
|
||||
query.before, query.after = query.after, query.before;
|
||||
end
|
||||
if query.key then
|
||||
iter = it.filter(function(item)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue