
The links to a specific chunk would be styled as /members/?start=jane@doe.com
Not sure if my English makes sense, I'll just post the code when I'm done pythonizing the idea. I don't even know how to compare two strings in python, so it might take a little while :-D
Okay, now it's done -- it's just a functionality rewrite, nothing is lost except a few lines of code :)
Enclosed is the patch + the patched file. (I'm not fully in sync with the CVS as I got an error upgrading from 2.1.6b to 2.1-Maint)
If you want to try it it's simple and can't do much harm, as it's only affecting the Web GUI - you don't have to restart Mailman, just save Mailman/Cgi/admin.py aside (in case), and replace it with this one.
Note that I also removed the annoying "language" menu when there's only one language available.
(BTW Something I'd like to add is a 'title="jane@doe.com"' attribute in the <a href> element, but I couldn't find how to do it.)
* * *
We'll still need to solve the "search" issue, but that will require much more work, I think, as the best way to do it will be to implement a new method in the memberadaptor; and that will need discussion, as there are two options:
- add a "getMembersMatching(regexp) method (best, I think, as it can leverage foreign search methods, i.e. MySQL's "SELECT WHERE name LIKE %s")
- add a "getMembersWithNames()" method (not so good, but for the sake oif the discussion I include the idea here)
Please tell me which route to take, or I'll take Route 1.
-- Fil