summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2015-04-13 20:25:24 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2015-04-13 20:25:24 -0400
commitc266efc7fc73f94995bffcdf8e0ef7a4aeb563c3 (patch)
tree2b96d2ff0f7e0a0d164a28b152b51fbb2f87b76f /devel
parentea00a099dffd7157c93af54b5817734348d2bbc6 (diff)
parent9589a7eadeb05e82c2d63f6fe128316fdb6dcc8a (diff)
Merge tag 'release_2014-10-19' into archweb-generic
Jinja2 switch for some templates, exact matches in package search
Diffstat (limited to 'devel')
-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,