summaryrefslogtreecommitdiff
path: root/todolists
diff options
context:
space:
mode:
Diffstat (limited to 'todolists')
-rw-r--r--todolists/views.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/todolists/views.py b/todolists/views.py
index f333728a..c7a4369a 100644
--- a/todolists/views.py
+++ b/todolists/views.py
@@ -219,7 +219,8 @@ def send_todolist_emails(todo_list, new_packages):
def public_list(request):
- todo_lists = Todolist.objects.incomplete().defer('raw')
+ todo_lists = Todolist.objects.incomplete().defer(
+ 'raw').order_by('-created')
# total hackjob, but it makes this a lot less query-intensive.
all_pkgs = [tp for tl in todo_lists for tp in tl.packages()]
attach_maintainers(all_pkgs)