X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fsearch%2Felements%2Fsearch.html;h=8f6272030293db4c5e36b89a779dd5397ef8f5b0;hp=68c488837936b1ea1399e8b80ed9ff38655494c6;hb=a6dd5bc6ba6c655b1707a016db4e97e269b718e5;hpb=a65d16767bcaa1077be0f41568a4349c9db18990 diff --git a/httemplate/search/elements/search.html b/httemplate/search/elements/search.html index 68c488837..8f6272030 100644 --- a/httemplate/search/elements/search.html +++ b/httemplate/search/elements/search.html @@ -353,7 +353,7 @@ if ( $opt{'disableable'} ) { my $limit = ''; my($confmax, $maxrecords, $offset ); -unless ( $type =~ /^(csv|\w*.xls)$/) { +unless ( $type =~ /^(csv|xml|\w*.xls)$/) { # html mode unless (exists($opt{count_query}) && length($opt{count_query})) { ( $opt{count_query} = $opt{query} ) =~ @@ -453,4 +453,6 @@ if ( ref($opt{query}) ) { $header ||= $sth->{NAME}; } +push @$rows, $opt{'footer_data'} if $opt{'footer_data'}; +