bugfixes for the new search interface

This commit is contained in:
Manuel Simon Hirsig
2016-07-13 21:04:22 +02:00
parent e61c59572d
commit 5d1b1842f5
3 changed files with 44 additions and 33 deletions
+1 -1
View File
@@ -233,7 +233,7 @@ function private.submit_query(k)
private.wait_for_callback(
private.current_thread().params.on_page_loaded,
private.current_thread().page - (private.current_query().blizzard_query.first_page or 0) + 1,
max(1, private.last_page(private.current_thread().total_auctions) - (private.current_query().blizzard_query.first_page or 0) + 1),
private.last_page(private.current_thread().total_auctions) - (private.current_query().blizzard_query.first_page or 0) + 1,
k
)
end)