diff options
author | Dan McGee <dan@archlinux.org> | 2011-06-24 03:13:01 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-06-24 03:13:01 +0200 |
commit | dcbb859a259082bf8d0587a63385ece44c697e45 (patch) | |
tree | 1ef16b20f111709c4144d2445840e659485412e8 /devel | |
parent | 82289ebb4432b3372b959430581afa0a2158acb9 (diff) | |
download | archweb-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.py | 2 |
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 = { |