X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fsearch%2Felements%2Fsearch.html;h=8658774e03c31d98c5632d35ab3137a8aa89ece8;hb=d8648be92fa4c30d9ca4377dc0ac8816438e1370;hp=b6ee7b3735e69716e194fe0647b5db925e3f17d1;hpb=1aecd5bf33146bf3f374341a3814960ae1d419e8;p=freeside.git diff --git a/httemplate/search/elements/search.html b/httemplate/search/elements/search.html index b6ee7b373..8658774e0 100644 --- a/httemplate/search/elements/search.html +++ b/httemplate/search/elements/search.html @@ -179,6 +179,7 @@ Example: &> +% # if changing this, also update saved search behavior to match! % if ( $type eq 'csv' ) { % <% include('search-csv.html', header=>$header, rows=>$rows, opt=>\%opt ) %> @@ -382,7 +383,7 @@ unless ( $type =~ /^(csv|xml|\w*.xls)$/) { #setup some pagination things if we're in html mode my $conf = new FS::Conf; - $confmax = $conf->config('maxsearchrecordsperpage'); + $confmax = $conf->config('maxsearchrecordsperpage') || 100; if ( $cgi->param('maxrecords') =~ /^(\d+)$/ ) { $maxrecords = $1; } else {