some changes to the progress bar, the page modifier was changed from @startpage to firstpage:lastpage where firstpage defaults to 0 and lastpage to the last page available.

This commit is contained in:
Manuel Simon Hirsig
2016-05-15 02:25:31 +02:00
parent c0a38d0668
commit 212d19993a
7 changed files with 56 additions and 53 deletions
+2 -2
View File
@@ -776,8 +776,8 @@ function private.refresh_entries()
ignore_owner = true,
queries = { query },
on_page_loaded = function(page, total_pages)
private.status_bar:update_status(100 * (page + 1) / total_pages, 0) -- TODO
private.status_bar:set_text(format('Scanning Page %d / %d', page + 1, total_pages))
private.status_bar:update_status(100 * (page - 1) / total_pages, 0) -- TODO
private.status_bar:set_text(format('Scanning Page %d / %d', page, total_pages))
end,
on_auction = function(auction_record)
if auction_record.item_key == item_key then