diff options
author | Jeff Fearn <jfearn@redhat.com> | 2022-10-14 15:40:11 +1000 |
---|---|---|
committer | Jeff Fearn <jfearn@redhat.com> | 2022-10-14 15:40:11 +1000 |
commit | 115011cde0409117c0b2aa3cc47cede021fe9e39 (patch) | |
tree | f722d8d2574f7d1f86dd99b6b16202bd54ef8aa1 /template/en | |
parent | Bug 2086708 - incorrect/nonsense ITR values in cloned/reopened RHEL BZs (diff) | |
download | bugzilla-115011cde0409117c0b2aa3cc47cede021fe9e39.tar.gz bugzilla-115011cde0409117c0b2aa3cc47cede021fe9e39.tar.bz2 bugzilla-115011cde0409117c0b2aa3cc47cede021fe9e39.zip |
Bug 1136014 - query.cgi: a blank row is added to Custom Search each time the user clicks Back on buglist.cgi
Skip noop rows except the last one.
Change-Id: Ie73702346a6231d9b6663f82641397081178ce2c
Diffstat (limited to 'template/en')
-rw-r--r-- | template/en/default/search/boolean-charts.html.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/template/en/default/search/boolean-charts.html.tmpl b/template/en/default/search/boolean-charts.html.tmpl index ee9e8044d..7041a62c3 100644 --- a/template/en/default/search/boolean-charts.html.tmpl +++ b/template/en/default/search/boolean-charts.html.tmpl @@ -86,7 +86,7 @@ [% BLOCK one_condition %] [%# Skip any conditions that don't have a field defined. %] - [% RETURN IF !condition.f %] + [% RETURN IF !condition.f || (condition.f == "noop" && !with_buttons) %] [% IF !top_level_any_shown %] [% INCLUDE any_all_select |