From a2336d70faed66049c4c7fb8d51e044aa34fb205 Mon Sep 17 00:00:00 2001 From: "mkanat%bugzilla.org" <> Date: Fri, 21 Aug 2009 21:33:07 +0000 Subject: Bug 449705: Make buglist.cgi's LookupNamedQuery use Bugzilla::Search::Saved Patch by Max Kanat-Alexander r=LpSolit, a=LpSolit --- template/en/default/global/code-error.html.tmpl | 4 ++-- template/en/default/global/per-bug-queries.html.tmpl | 2 +- template/en/default/global/user-error.html.tmpl | 2 ++ 3 files changed, 5 insertions(+), 3 deletions(-) (limited to 'template') diff --git a/template/en/default/global/code-error.html.tmpl b/template/en/default/global/code-error.html.tmpl index 97fd59d21..e96e6d48e 100644 --- a/template/en/default/global/code-error.html.tmpl +++ b/template/en/default/global/code-error.html.tmpl @@ -340,8 +340,8 @@ [% ELSIF error == "param_must_be_numeric" %] [% title = "Invalid Parameter" %] - Invalid parameter passed to [% function FILTER html %]. - It must be numeric. + Invalid parameter [% param FILTER html %] passed to + [% function FILTER html %]: It must be numeric. [% ELSIF error == "param_required" %] [% title = "Missing Parameter" %] diff --git a/template/en/default/global/per-bug-queries.html.tmpl b/template/en/default/global/per-bug-queries.html.tmpl index c2fc3983d..3c62e35f5 100644 --- a/template/en/default/global/per-bug-queries.html.tmpl +++ b/template/en/default/global/per-bug-queries.html.tmpl @@ -54,7 +54,7 @@ [%# Get existing lists of bugs for this user %] [% lists_of_bugs = [] %] [% FOREACH q = user.queries %] - [% NEXT UNLESS q.bug_ids_only %] + [% NEXT UNLESS q.type == constants.LIST_OF_BUGS %] [% lists_of_bugs.push(q.name) %] [% END %]
diff --git a/template/en/default/global/user-error.html.tmpl b/template/en/default/global/user-error.html.tmpl index 58cf4e01d..c4eefb4aa 100644 --- a/template/en/default/global/user-error.html.tmpl +++ b/template/en/default/global/user-error.html.tmpl @@ -1745,6 +1745,8 @@ flagtype [% ELSIF class == "Bugzilla::Field" %] field + [% ELSIF class == "Bugzilla::Search::Saved" %] + saved search [% ELSIF ( matches = class.match('^Bugzilla::Field::Choice::(.+)') ) %] [% SET field_name = matches.0 %] [% field_descs.$field_name FILTER html %] -- cgit v1.2.3-24-g4f1b