summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-06-23 20:13:01 -0500
committerDan McGee <dan@archlinux.org>2011-06-23 20:13:01 -0500
commitdcbb859a259082bf8d0587a63385ece44c697e45 (patch)
tree1ef16b20f111709c4144d2445840e659485412e8 /devel
parent82289ebb4432b3372b959430581afa0a2158acb9 (diff)
Add (hidden) ability to search by last packager
This is used from the developer dashboard to add a new column to the stats of # of packages for a given developer where they were the last to do the packaging. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'devel')
-rw-r--r--devel/views.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/devel/views.py b/devel/views.py
index 1827f2ac..4399b73f 100644
--- a/devel/views.py
+++ b/devel/views.py
@@ -50,9 +50,11 @@ def index(request):
total_orphans = Package.objects.exclude(pkgbase__in=maintained).count()
total_flagged_orphans = Package.objects.filter(
flag_date__isnull=False).exclude(pkgbase__in=maintained).count()
+ total_updated = Package.objects.filter(packager__isnull=True).count()
orphan = {
'package_count': total_orphans,
'flagged_count': total_flagged_orphans,
+ 'updated_count': total_updated,
}
page_dict = {