aboutsummaryrefslogtreecommitdiffstats
path: root/Mailman/Defaults.py.in
diff options
context:
space:
mode:
authorMark Sapiro <mark@msapiro.net>2013-07-19 14:33:57 -0700
committerMark Sapiro <mark@msapiro.net>2013-07-19 14:33:57 -0700
commit1beb49523f59142b215d75343fd797b582db77b6 (patch)
treeb722772d36df86b78ed4e95482ec788d7ac6dac1 /Mailman/Defaults.py.in
parentdaa26bbc43c82c1b91cfb927f5430b94d11bb068 (diff)
downloadmailman2-1beb49523f59142b215d75343fd797b582db77b6.tar.gz
mailman2-1beb49523f59142b215d75343fd797b582db77b6.tar.xz
mailman2-1beb49523f59142b215d75343fd797b582db77b6.zip
Enable setting a default grouping/sorting for the admindb held message
summary via a DISPLAY_HELD_SUMMARY_SORT_BUTTONS setting.
Diffstat (limited to 'Mailman/Defaults.py.in')
-rwxr-xr-xMailman/Defaults.py.in10
1 files changed, 9 insertions, 1 deletions
diff --git a/Mailman/Defaults.py.in b/Mailman/Defaults.py.in
index ee17d344..10a2f056 100755
--- a/Mailman/Defaults.py.in
+++ b/Mailman/Defaults.py.in
@@ -253,7 +253,10 @@ BROKEN_BROWSER_REPLACEMENTS = {'\x8b': '&#8249;', # single left angle quote
}
#
# Shall the admindb held message summary display the grouping and sorting
-# option radio buttons?
+# option radio buttons? Set this in mm_cfg.py to one of the following:
+# SSENDER -> Default to grouped and sorted by sender.
+# SSENDERTIME -> Default to grouped by sender and sorted by time.
+# STIME -> Default to ungrouped and sorted by time.
DISPLAY_HELD_SUMMARY_SORT_BUTTONS = No
@@ -1411,6 +1414,11 @@ UNSUBSCRIBE = 5
ACCEPT = 6
HOLD = 7
+# admindb summary sort button settings. All must evaluate to True.
+SSENDER = 1
+SSENDERTIME = 2
+STIME = 3
+
# Standard text field width
TEXTFIELDWIDTH = 40