From 1b984c1173997419539b419e68ce893fc0dee4ee Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Fri, 20 Jul 2007 17:55:55 +0000 Subject: Bug 365082: QuickSearch using unknown field makes Bugzilla hang - Patch by Teemu Mannermaa r/a=LpSolit --- template/en/default/global/user-error.html.tmpl | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'template/en/default/global') diff --git a/template/en/default/global/user-error.html.tmpl b/template/en/default/global/user-error.html.tmpl index 072a10a56..658532766 100644 --- a/template/en/default/global/user-error.html.tmpl +++ b/template/en/default/global/user-error.html.tmpl @@ -1295,6 +1295,20 @@ [% title = "Query Name Too Long" %] The name of the query must be less than 64 characters long. + [% ELSIF error == "quicksearch_unknown_field" %] + [% title = "Unknown QuickSearch Field" %] + [% IF fields.unique.size == 1 %] + Field [% fields.first FILTER html %] is not a known field. + [% ELSE %] + Fields + [% FOREACH field = fields.unique.sort %] + [% field FILTER html %] + [% ', ' UNLESS loop.last() %] + [% END %] + are not known fields. + [% END %] + The legal field names are listed here. + [% ELSIF error == "reassign_to_empty" %] [% title = "Illegal Reassignment" %] To reassign [% terms.abug %], you must provide an address for -- cgit v1.2.3-24-g4f1b