From 88bee1a22ccbd05f3814266239aff23da1e3ae9d Mon Sep 17 00:00:00 2001 From: "reed%reedloden.com" <> Date: Wed, 27 Dec 2006 09:21:32 +0000 Subject: Bug 364835 - "current bug number should be filled in in "to bugs" input box to simplify tagging" [p=reed r=bkor a=justdave] --- show_bug.cgi | 3 +++ template/en/default/filterexceptions.pl | 4 ++++ template/en/default/global/per-bug-queries.html.tmpl | 3 ++- 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/show_bug.cgi b/show_bug.cgi index 37d31efe0..bc6faa8a5 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 a08233e0c..7321dc5b9 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 c3706d6de..6a63016c0 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 %] - + -- cgit v1.2.3-24-g4f1b