From: Euler Taveira Date: Thu, 2 Mar 2017 04:22:38 +0000 (-0300) Subject: Menu is broken when --disable-type X-Git-Tag: v9.2~15^2~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=010075550bcee81b59f804a61ab5c13f08c39dca;p=pgbadger Menu is broken when --disable-type top_cancelled_info test and closing list must be inside disable_type test. While in it, ident disable_lock test. --- diff --git a/pgbadger b/pgbadger index 742f0f3..d4e75cf 100644 --- a/pgbadger +++ b/pgbadger @@ -4812,7 +4812,7 @@ sub html_header }; - } + } if (!$disable_query) { if (!$disable_type) { print $fh qq{ @@ -4827,16 +4827,18 @@ sub html_header
  • Number of cancelled queries
  • }; - } - if ($#top_cancelled_info >= 0) { - print $fh qq{ + if ($#top_cancelled_info >= 0) { + print $fh qq{
  • Queries generating the most cancellation (N)
  • Most cancelled queries
  • }; - } - print $fh qq{ + } + print $fh qq{ +}; + } + print $fh qq{