From ed17a711ebddc980f89e8290632f566c37bf762f Mon Sep 17 00:00:00 2001 From: Byron Jones Date: Thu, 22 Nov 2012 22:25:07 +0800 Subject: Bug 780820: Allows for multiple custom search criteria to match one field --- template/en/default/global/user-error.html.tmpl | 11 +++++++++++ template/en/default/search/boolean-charts.html.tmpl | 13 ++++++++++--- 2 files changed, 21 insertions(+), 3 deletions(-) (limited to 'template') diff --git a/template/en/default/global/user-error.html.tmpl b/template/en/default/global/user-error.html.tmpl index c2b2ceb28..fca219401 100644 --- a/template/en/default/global/user-error.html.tmpl +++ b/template/en/default/global/user-error.html.tmpl @@ -1575,6 +1575,17 @@ and the "matches" search can only be used with the "content" field. + [% ELSIF error == "search_grouped_field_invalid" %] + [% terms.Bugzilla %] does not support using the + "[%+ field_descs.$field FILTER html %]" ([% field FILTER html %]) + field with grouped search conditions. + + [% ELSIF error == "search_grouped_invalid_nesting" %] + You cannot nest clauses within grouped search conditions. + + [% ELSIF error == "search_grouped_field_mismatch" %] + All conditions under a groups search must use the same field. + [% ELSIF error == "search_field_operator_invalid" %] [% terms.Bugzilla %] does not support using the "[%+ field_descs.$field FILTER html %]" ([% field FILTER html %]) diff --git a/template/en/default/search/boolean-charts.html.tmpl b/template/en/default/search/boolean-charts.html.tmpl index 878589cea..d87db1c6a 100644 --- a/template/en/default/search/boolean-charts.html.tmpl +++ b/template/en/default/search/boolean-charts.html.tmpl @@ -78,6 +78,10 @@ @@ -134,7 +138,8 @@ ( [% indent_level = indent_level + 1 %] [% ELSIF condition.f == "CP" %] - + ) [% ELSE %] - + + Match ANY of the following separately: + [% IF with_advanced_link %]