]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 227122 - pie chart link missing from certain tabular reports. Patch by gerv;...
authorgerv%gerv.net <>
Mon, 8 Dec 2003 06:44:24 +0000 (06:44 +0000)
committergerv%gerv.net <>
Mon, 8 Dec 2003 06:44:24 +0000 (06:44 +0000)
template/en/default/reports/report.html.tmpl

index 535a8c503575cbcd66c2119e4b8e1566c04ef50f..3d3114d20ce75ae2e6c95263cb083184e5044c65 100644 (file)
         [% formaturl = "report.cgi?$switchbase&width=$width&height=$height" _ 
                        "&action=wrap" %]
         [% FOREACH other_format = formats %]
-          [% NEXT IF other_format.name == "pie" AND row_field %]
+          [% NEXT IF other_format.name == "pie" AND row_field AND col_field %]
           [% UNLESS other_format.name == format %]
             <a href="[% formaturl %]&amp;format=[% other_format.name %]">
           [% END %]