summaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2012-04-03 21:44:02 +0200
committerDan McGee <dan@archlinux.org>2012-04-03 21:44:16 +0200
commitb1a9818ddee0e3d0cd4d47b6dbf1c1409992227b (patch)
tree4e3abeabc346e40e514a053a620a5db898e7425e /packages
parentd9e5cbf546536e4a14e7f3cb591631515112a205 (diff)
downloadarchweb-b1a9818ddee0e3d0cd4d47b6dbf1c1409992227b.tar.gz
archweb-b1a9818ddee0e3d0cd4d47b6dbf1c1409992227b.tar.xz
Include category when linking to bug reports
Also change the default category to something legit. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'packages')
-rw-r--r--packages/templatetags/package_extras.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/templatetags/package_extras.py b/packages/templatetags/package_extras.py
index 5cc826e..975f59f 100644
--- a/packages/templatetags/package_extras.py
+++ b/packages/templatetags/package_extras.py
@@ -110,6 +110,7 @@ def bugs_list(package):
url = "https://bugs.archlinux.org/"
data = {
'project': package.repo.bugs_project,
+ 'cat[]': package.repo.bugs_category,
'string': package.pkgname,
}
return link_encode(url, data)