Ext.Direct implementation for Django
To calculate the page number which suits the Django's Paginator.page() one needs to divide start with limit (ext sends start as the item number, not page number). Patch: ``` --- store.py.orig 2010-02-07 15:38:10.772014212 +0200 +++ store.py 2010-02-07 15:38:58.168412711 +0200 @@ -57,7 +57,7 @@ total = paginator.count try: - page = paginator.page(start + 1) + page = paginator.page(start/limit + 1) except (EmptyPage, InvalidPage): #out of range, deliver last page of results. page = paginator.page(paginator.num_pages) ```
This issue appears to be discussing a feature request or bug report related to the repository. Based on the content, it seems to be resolved. The issue was opened by MeirKriheli and has received 1 comments.