Support pagination for history, fix crash when the call is free

This commit is contained in:
Florent 2014-03-20 15:37:50 +01:00
commit 5cdefd8966
2 changed files with 13 additions and 3 deletions

View file

@ -62,7 +62,8 @@ class PoivyBrowser(LoginBrowser):
@need_login
def get_history(self):
return self.history.stay_or_go().get_calls()
self.history.stay_or_go()
return self.pagination(lambda: self.page.get_calls())
@need_login
def iter_bills(self, parentid):