X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fsearch%2Felements%2Fgrouped-search%2Fhtml;h=c1fd9bd5e5c25ebf16644e0a1baffe7a2225ee31;hp=9c2418af8fcf883e72d9c4ce09e41156d9a391d9;hb=d8648be92fa4c30d9ca4377dc0ac8816438e1370;hpb=41fc6d0a8aa5921638ac2767265a7528855a5251 diff --git a/httemplate/search/elements/grouped-search/html b/httemplate/search/elements/grouped-search/html index 9c2418af8..c1fd9bd5e 100644 --- a/httemplate/search/elements/grouped-search/html +++ b/httemplate/search/elements/grouped-search/html @@ -34,7 +34,7 @@ my $footer = $group_info->{group_footers}[$curr_group]; my $total_footer = $group_info->{total_footer} || []; # pagination my ($limit, $offset); -my $maxrecords = $conf->config('maxsearchrecordsperpage') || 50; +my $maxrecords = $conf->config('maxsearchrecordsperpage') || 100; if ( $cgi->param('maxrecords') =~ /^(\d+)$/ ) { $maxrecords = $1; } @@ -106,14 +106,18 @@ if ($group_info->{num} > 1) { &>
+% if ( $group->num_rows > 0 ) { +

<% emt('[quant,_1,_2]', $group->num_rows, $opt{name_singular}) %> +

%# download links -

<% emt('Download full results') %>
+

<% emt('Download results:') %> % $cgi->param('type', 'xls'); -<% emt('as Excel spreadsheet') %>
+<% emt('Spreadsheet') %> |  % $cgi->param('type', 'html-print'); -<% emt('as printable copy') %>
+<% emt('webpage') %> % $cgi->delete('type');

+% } <% $pager %>