Upon further investigation, I found that the prior fix was incomplete.
It only fixed the 'letter' links at the top of the Membership List. It
didn't fix the links to subsequent chunks at the bottom of the list.

Attached is a patch to the 2.1.23 base to fix that. For older versions
both this and the patch posted earlier in this thread need to be applied.

-- 
Mark Sapiro <m...@msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan
=== modified file 'Mailman/Cgi/admin.py'
--- Mailman/Cgi/admin.py	2016-08-19 08:12:30 +0000
+++ Mailman/Cgi/admin.py	2016-09-29 18:56:37 +0000
@@ -1188,8 +1188,11 @@
                 continue
             start = chunkmembers[i*chunksz]
             end = chunkmembers[min((i+1)*chunksz, last)-1]
-            link = Link(url + 'chunk=%d' % i + findfrag,
-                        _('from %(start)s to %(end)s'))
+            url = url + 'chunk=%d' % i + findfrag
+            if isinstance(url, unicode):
+                url = url.encode(Utils.GetCharSet(mlist.preferred_language),
+                                 errors='ignore')
+            link = Link(url, _('from %(start)s to %(end)s'))
             buttons.append(link)
         buttons = UnorderedList(*buttons)
         container.AddItem(footer + buttons.Format() + '<p>')

------------------------------------------------------
Mailman-Users mailing list Mailman-Users@python.org
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Reply via email to