Fix description for descendingly sorted date index
This commit is contained in:
parent
34052aa57e
commit
11f2568abf
2
render
2
render
|
@ -178,7 +178,7 @@ render_index(sorted_list, "Sorted from old to new", "date_asc")
|
|||
|
||||
# Sort by timestamp, descending
|
||||
sorted_list.reverse()
|
||||
render_index(sorted_list, "Sorted from old to new", "date_desc")
|
||||
render_index(sorted_list, "Sorted from new to old", "date_desc")
|
||||
|
||||
# Sort by sender, ascending
|
||||
sorted_list = sorted(email_list, key=lambda email: email[3].lower())
|
||||
|
|
Loading…
Reference in a new issue