summaryrefslogtreecommitdiff
path: root/todolists
diff options
context:
space:
mode:
authoreliott <eliott@cactuswax.net>2008-03-08 12:11:02 -0800
committereliott <eliott@cactuswax.net>2008-03-08 12:11:02 -0800
commit3e31808521e990b3b86d25de7d49cdd90a2de29f (patch)
tree610986402708677b9cccf3c8d2632177173789ed /todolists
parent4d1977f24e062370efd307cbe51d4cd826828362 (diff)
More changes to the multiarch model.
Diffstat (limited to 'todolists')
-rw-r--r--todolists/views.py2
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)