summaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-06-24 03:13:01 +0200
committerDan McGee <dan@archlinux.org>2011-06-24 03:13:01 +0200
commitdcbb859a259082bf8d0587a63385ece44c697e45 (patch)
tree1ef16b20f111709c4144d2445840e659485412e8 /devel
parent82289ebb4432b3372b959430581afa0a2158acb9 (diff)
downloadarchweb-dcbb859a259082bf8d0587a63385ece44c697e45.tar.gz
archweb-dcbb859a259082bf8d0587a63385ece44c697e45.tar.xz
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 1827f2a..4399b73 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 = {