diff --git a/Mailman/Archiver/HyperArch.py b/Mailman/Archiver/HyperArch.py index 4469193..2e186ff 100644 --- a/Mailman/Archiver/HyperArch.py +++ b/Mailman/Archiver/HyperArch.py @@ -637,7 +637,7 @@ class HyperArchive(pipermail.T): FILEMODE = 0660 VERBOSE = 0 - DEFAULTINDEX = 'thread' + DEFAULTINDEX = 'date' ARCHIVE_PERIOD = 'month' THREADLAZY = 0 diff --git a/Mailman/Archiver/HyperDatabase.py b/Mailman/Archiver/HyperDatabase.py index 2475d47..3566425 100644 --- a/Mailman/Archiver/HyperDatabase.py +++ b/Mailman/Archiver/HyperDatabase.py @@ -71,7 +71,7 @@ class DumbBTree: def __sort(self, dirty=None): if self.__dirty == 1 or dirty: self.sorted = self.dict.keys() - self.sorted.sort() + self.sorted.sort(reverse = self.path.endswith('date')) self.__dirty = 0 def lock(self): diff --git a/templates/en/archidxentry.html b/templates/en/archidxentry.html index f9bb57a..365e836 100644 --- a/templates/en/archidxentry.html +++ b/templates/en/archidxentry.html @@ -1,3 +1,5 @@ +%(datestr)s +