diff options
Diffstat (limited to 'todolists')
-rw-r--r-- | todolists/views.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/todolists/views.py b/todolists/views.py index 59dc5dbf..dbfd440e 100644 --- a/todolists/views.py +++ b/todolists/views.py @@ -49,7 +49,7 @@ def add(request): todo.save() # now link in packages for p in request.POST.get('packages').split("\n"): - for pkg in Package.objects.filter(pkgname=p.strip()): + for pkg in Package.objects.filter(pkgname=p.strip()).order_by('arch'): todopkg = TodolistPkg( list = todo, pkg = pkg) |