aboutsummaryrefslogtreecommitdiffstats
path: root/Mailman/Cgi
diff options
context:
space:
mode:
authorMark Sapiro <msapiro@value.net>2014-04-15 19:41:17 -0700
committerMark Sapiro <msapiro@value.net>2014-04-15 19:41:17 -0700
commit5d91aaf0aa141300bad65443e3a007fdd2396c19 (patch)
tree61b9b89b1cbf3698fb789c93530b3106be55ec44 /Mailman/Cgi
parentb980507e39147a85eca0812b8d3dd844e27e4fe8 (diff)
downloadmailman2-5d91aaf0aa141300bad65443e3a007fdd2396c19.tar.gz
mailman2-5d91aaf0aa141300bad65443e3a007fdd2396c19.tar.xz
mailman2-5d91aaf0aa141300bad65443e3a007fdd2396c19.zip
Fixed the admin Membership List so a search string if any is not lost
when visiting subsequent fragments of a chunked list.
Diffstat (limited to '')
-rw-r--r--Mailman/Cgi/admin.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Mailman/Cgi/admin.py b/Mailman/Cgi/admin.py
index 6fd57733..47b4bafb 100644
--- a/Mailman/Cgi/admin.py
+++ b/Mailman/Cgi/admin.py
@@ -1152,7 +1152,8 @@ def membership_options(mlist, subcat, cgidata, doc, form):
continue
start = chunkmembers[i*chunksz]
end = chunkmembers[min((i+1)*chunksz, last)-1]
- link = Link(url + 'chunk=%d' % i, _('from %(start)s to %(end)s'))
+ link = Link(url + 'chunk=%d' % i + findfrag,
+ _('from %(start)s to %(end)s'))
buttons.append(link)
buttons = UnorderedList(*buttons)
container.AddItem(footer + buttons.Format() + '<p>')