summaryrefslogtreecommitdiff
path: root/devel/views.py
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2015-04-13 21:00:49 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2015-04-13 21:00:49 -0400
commit7aab774ad05b81eb204774bf17cc613401310f7b (patch)
tree812929abb2ae6fae90e6a56d4237738d7ca62a8f /devel/views.py
parent355087ebe2e3fbd5f860e4655888a89d9df52e34 (diff)
parentc266efc7fc73f94995bffcdf8e0ef7a4aeb563c3 (diff)
Merge tag 'release_2014-10-19' into archweb-generic
Jinja2 switch for some templates, exact matches in package search # Conflicts: # templates/packages/search.html
Diffstat (limited to 'devel/views.py')
-rw-r--r--devel/views.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/devel/views.py b/devel/views.py
index 92cb098e..66f6a965 100644
--- a/devel/views.py
+++ b/devel/views.py
@@ -197,6 +197,7 @@ def report(request, report_name, username=None):
maints = User.objects.filter(id__in=PackageRelation.objects.filter(
type=PackageRelation.MAINTAINER).values('user'))
+ packages = report.packages(packages, username)
arches = {pkg.arch for pkg in packages}
repos = {pkg.repo for pkg in packages}
context = {
@@ -204,7 +205,7 @@ def report(request, report_name, username=None):
'title': report.description,
'report': report,
'maintainer': user,
- 'packages': report.packages(packages, username),
+ 'packages': packages,
'arches': sorted(arches),
'repos': sorted(repos),
'column_names': report.names,