summaryrefslogtreecommitdiff
path: root/modules/mm_html.py
diff options
context:
space:
mode:
authormailman1998-03-27 05:25:24 +0000
committermailman1998-03-27 05:25:24 +0000
commit9898065b7cd72e7dedaabb262916fc732cbe94a1 (patch)
tree64cda63fb358e77d9a7b58641d6bc5337986cfcc /modules/mm_html.py
parent54985eeeb8a4c1167bed1a2c18b77ca45b5a62d2 (diff)
downloadmailman-9898065b7cd72e7dedaabb262916fc732cbe94a1.tar.gz
mailman-9898065b7cd72e7dedaabb262916fc732cbe94a1.tar.zst
mailman-9898065b7cd72e7dedaabb262916fc732cbe94a1.zip
Members (digest or non) are sorted only during presentation, not in
storage on the list. them before presenting an ordered list.
Diffstat (limited to 'modules/mm_html.py')
-rw-r--r--modules/mm_html.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/mm_html.py b/modules/mm_html.py
index 5e1aefe83..8d684ea28 100644
--- a/modules/mm_html.py
+++ b/modules/mm_html.py
@@ -49,6 +49,7 @@ class HTMLFormatter:
else:
people = filter(NotHidden, self.members)
num_concealed = len(self.members) - len(people)
+ people.sort()
if (num_concealed > 0):
plurality = (((num_concealed > 1) and "s") or "")
concealed = ("<em>(%d private member%s not shown)</em>"