From: Don Armstrong Date: Sat, 10 Mar 2007 10:01:51 +0000 (-0800) Subject: default to collapsed for things with width/height X-Git-Tag: release/2.6.0~579^2 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=94c5aea057994bf33e906f73308035bbb160df52;p=debbugs.git default to collapsed for things with width/height --- diff --git a/Debbugs/CGI.pm b/Debbugs/CGI.pm index 73b5bb6b..8e4cdd0f 100644 --- a/Debbugs/CGI.pm +++ b/Debbugs/CGI.pm @@ -138,7 +138,8 @@ sub version_url{ found => $found, fixed => $fixed, (defined $width)?(width => $width):(), - (defined $height)?(height => $height):() + (defined $height)?(height => $height):(), + (defined $width or defined $height)?(collapse => 1):(), ); return $url->as_string; } diff --git a/cgi/version.cgi b/cgi/version.cgi index 0fc1dafc..f0765f9a 100755 --- a/cgi/version.cgi +++ b/cgi/version.cgi @@ -39,7 +39,7 @@ my %cgi_var = cgi_parameters(query => $q, found => [], fixed => [], ignore_boring => 1, - collapse => 1, + collapse => 0, format => 'png', width => undef, height => undef,