diff options
-rw-r--r-- | main/models.py | 2 | ||||
-rw-r--r-- | packages/templatetags/package_extras.py | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/main/models.py b/main/models.py index 34cbcd17..db926dda 100644 --- a/main/models.py +++ b/main/models.py @@ -115,7 +115,7 @@ class Repo(models.Model): help_text="Is this repo meant for package staging?") bugs_project = models.SmallIntegerField(default=1, help_text="Flyspray project ID for this repository.") - bugs_category = models.SmallIntegerField(default=0, + bugs_category = models.SmallIntegerField(default=2, help_text="Flyspray category ID for this repository.") svn_root = models.CharField(max_length=64, help_text="SVN root (e.g. path) for this repository.") diff --git a/packages/templatetags/package_extras.py b/packages/templatetags/package_extras.py index 5cc826ed..975f59f1 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) |