[bugzilla-gnome-org-extensions] browse: Fix per component buglist links
- From: Krzesimir Nowak <krnowak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [bugzilla-gnome-org-extensions] browse: Fix per component buglist links
- Date: Wed, 17 Dec 2014 15:41:57 +0000 (UTC)
commit d7ee9f02f039c0cdc5caacc552267086977e860e
Author: Krzesimir Nowak <qdlacz gmail com>
Date: Wed Dec 17 16:40:25 2014 +0100
browse: Fix per component buglist links
Comma separated bug statuses as a value of bug_status parameter is
ill-formed and, in effect, ignored.
Browse/lib/Util.pm | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/Browse/lib/Util.pm b/Browse/lib/Util.pm
index 8dc4f7e..2ebb848 100644
--- a/Browse/lib/Util.pm
+++ b/Browse/lib/Util.pm
@@ -393,9 +393,10 @@ sub by_patch_status {
sub browse_bug_link {
my $product = shift;
+ my @statuses = map { '&bug_status=' . url_quote($_) } Bugzilla::Status->gnome_open_statuses();
return correct_urlbase() . 'buglist.cgi?product=' . url_quote($product->name) .
- '&bug_status=' . join(',' ,map { url_quote($_) } grep ($_ ne "NEEDINFO", BUG_STATE_OPEN));
+ join('', @statuses);
}
sub by_version {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]