[Pkg-mailman-hackers] Bug#359721: admin page: with long lists, findmember option got forgotten, when clicked on another letter

RISKO Gergely risko at debian.org
Tue Mar 28 16:24:52 UTC 2006


Package: mailman
Version: 2.1.7-1
Severity: normal
Tags: patch

When someone uses the admin page to list members and enter a search
string which has numerous results, for example "a", then the search
result is displayed using an interface where the user can choose the
starting letter.  The problem is, that if she choose an other starting
letter, the search got forgotten, so every member with this letter got
listed.

URLs:
http://mail.python.org/pipermail/mailman-developers/2005-May/018059.html
http://gergo.risko.hu/mailman-findmember.patch

--
RISKÓ Gergely

Patch:
--- admin.py    2003-12-24 18:27:45.000000000 +0100
+++ admin.py.new        2006-03-28 18:16:48.000000000 +0200
@@ -945,7 +945,7 @@
         for letter in digits + lowercase:
             if not buckets.get(letter):
                 continue
-            url = adminurl + '/members?letter=%s' % letter
+            url = adminurl + '/members?findmember=%s&letter=%s' % (urllib.quote(regexp) ,letter)
             if letter == bucket:
                 show = Bold('[%s]' % letter.upper()).Format()
             else:




More information about the Pkg-mailman-hackers mailing list