From 4808d6646408801c34a57c3c13b67a2403bc5da5 Mon Sep 17 00:00:00 2001 From: Rashif Ray Rahman Date: Thu, 11 Jul 2013 21:07:30 +0800 Subject: [PATCH] Do not hardcode categories into bug searches If a task's category changes to, say, 'Upstream Bugs', then it won't be found if a user clicks on the 'Bug Reports' link from the package details page, as currently the category is set to 'Packages'. --- packages/templatetags/package_extras.py | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/templatetags/package_extras.py b/packages/templatetags/package_extras.py index f7392a9..2091810 100644 --- a/packages/templatetags/package_extras.py +++ b/packages/templatetags/package_extras.py @@ -130,7 +130,6 @@ 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) -- 1.8.3.1