implemented a test multi query query

This commit is contained in:
Manuel Simon Hirsig
2016-01-28 02:11:02 +01:00
parent bada64f629
commit dfeb0af3a1
4 changed files with 83 additions and 35 deletions
+1
View File
@@ -11,6 +11,7 @@ function m.find(test, query, page, status_bar, on_failure, on_success)
local pages = page > 0 and { page, page - 1 } or { page }
query = Aux.util.copy_table(query)
query.start_page = nil
query.next_page = function()
if getn(pages) == 1 then
status_bar:update_status(50, 50)