From: reed%reedloden.com <>
Date: Wed, 27 Dec 2006 09:21:32 +0000 (+0000)
Subject: Bug 364835 - "current bug number should be filled in in "to bugs" input box to simpli...
X-Git-Tag: bugzilla-2.23.4~121
X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=88bee1a22ccbd05f3814266239aff23da1e3ae9d;p=thirdparty%2Fbugzilla.git
Bug 364835 - "current bug number should be filled in in "to bugs" input box to simplify tagging" [p=reed r=bkor a=justdave]
---
diff --git a/show_bug.cgi b/show_bug.cgi
index 37d31efe09..bc6faa8a58 100755
--- a/show_bug.cgi
+++ b/show_bug.cgi
@@ -99,6 +99,9 @@ $vars->{'bugs'} = \@bugs;
$vars->{'marks'} = \%marks;
$vars->{'use_keywords'} = 1 if Bugzilla::Keyword::keyword_count();
+my @bugids = map {$_->bug_id} @bugs;
+$vars->{'bugids'} = join(", ", @bugids);
+
# Next bug in list (if there is one)
my @bug_list;
if ($cgi->cookie("BUGLIST")) {
diff --git a/template/en/default/filterexceptions.pl b/template/en/default/filterexceptions.pl
index a08233e0ce..7321dc5b9c 100644
--- a/template/en/default/filterexceptions.pl
+++ b/template/en/default/filterexceptions.pl
@@ -247,6 +247,10 @@
'series.frequency * 2',
],
+'global/per-bug-queries.html.tmpl' => [
+ '" value=\"$bugids\"" IF bugids',
+],
+
'global/select-menu.html.tmpl' => [
'options',
'size',
diff --git a/template/en/default/global/per-bug-queries.html.tmpl b/template/en/default/global/per-bug-queries.html.tmpl
index c3706d6de6..6a63016c0b 100644
--- a/template/en/default/global/per-bug-queries.html.tmpl
+++ b/template/en/default/global/per-bug-queries.html.tmpl
@@ -93,7 +93,8 @@
to
[%+ terms.bugs %]
-
+