If you page to somewhere in the middle of several results, you might see
something like this:
‹‹ previous 1 2 ... 565 566 *567* 568 ... 2027 2028 next ››
with asterisks marking the current page. Notice that there are two page links
rendered before 567, but only one after before the ellipses. (For this example,
I set PAGINATION_DEFAULT_WINDOW = 2). To fix it, I changed this line:
current_end = page_obj.number-1+window
to:
current_end = page_obj.number+window
in the paginate() method in templatetags/pagination_tags.py. Let me know if
there's any way I can help!
Original issue reported on code.google.com by ra...@electronsweatshop.com on 5 Oct 2010 at 5:33
Original issue reported on code.google.com by
ra...@electronsweatshop.com
on 5 Oct 2010 at 5:33