summaryrefslogtreecommitdiff
path: root/public
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2013-07-14 12:08:36 -0600
committerLuke Shumaker <LukeShu@sbcglobal.net>2013-07-14 12:08:36 -0600
commitf6b335b268f5f47e5c48f84f5994f7bdcd8b7e5a (patch)
tree5f7c5ea574a88a4bc1d825e0c7ea829ddedbf9aa /public
parent0aa246b85159bf627873308868cf169868cba569 (diff)
parentffaa2cfb254a238ba0eb704115b95360305d1ae7 (diff)
Merge branch 'archweb' into archweb-generic2
Diffstat (limited to 'public')
-rw-r--r--public/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/public/views.py b/public/views.py
index 71098c95..7a1e2788 100644
--- a/public/views.py
+++ b/public/views.py
@@ -80,7 +80,7 @@ def _mirror_urls():
'''In order to ensure this is lazily evaluated since we can't do
sorting at the database level, make it a callable.'''
urls = MirrorUrl.objects.select_related('mirror').filter(
- protocol__default=True,
+ active=True, protocol__default=True,
mirror__public=True, mirror__active=True, mirror__isos=True)
sort_by = attrgetter('country.name', 'mirror.name')
return sorted(urls, key=sort_by)