Hieu Nguyen added the comment:
I've attached the patch for fixing both paginate buttons (Next and Previous) to
contain the GET parameter "ignore" if present.
----------
assignedto: -> ezio.melotti
nosy: +ezio.melotti, hieu.nguyen
priority: -> bug
_______________________________________________________
PSF Meta Tracker <metatrac...@psf.upfronthosting.co.za>
<http://psf.upfronthosting.co.za/roundup/meta/issue531>
_______________________________________________________
diff -r 3a4232245f3f html/issue.index.html
--- a/html/issue.index.html Tue Jul 29 16:12:03 2014 +0200
+++ b/html/issue.index.html Sat Aug 02 21:26:44 2014 +0300
@@ -101,7 +101,9 @@
<a tal:define="prev batch/previous" tal:condition="prev"
tal:attributes="href
python:request.indexargs_url(request.classname,
- {'@startwith':prev.first, '@pagesize':prev.size})"
+ {'@startwith':prev.first, '@pagesize':prev.size,
+ 'ignore':','.join(':'.join(x) for x in
request.get_ignored().keys())
+ if bool(request.get_ignored()) else ''})"
i18n:translate=""><< previous</a>
</span>
<span>
@@ -112,7 +114,9 @@
<span>
<a tal:define="next batch/next" tal:condition="next"
tal:attributes="href
python:request.indexargs_url(request.classname,
- {'@startwith':next.first, '@pagesize':next.size})"
+ {'@startwith':next.first, '@pagesize':next.size,
+ 'ignore':','.join(':'.join(x) for x in
request.get_ignored().keys())
+ if bool(request.get_ignored()) else ''})"
i18n:translate="">next >></a>
</span>
_______________________________________________
Tracker-discuss mailing list
Tracker-discuss@python.org
https://mail.python.org/mailman/listinfo/tracker-discuss