diff options
| author | Ivan Kohler <ivan@freeside.biz> | 2017-02-02 08:43:14 -0800 |
|---|---|---|
| committer | Ivan Kohler <ivan@freeside.biz> | 2017-02-02 08:43:14 -0800 |
| commit | 2eba3bb70e579c6799241e2d7d9df681febc8cdd (patch) | |
| tree | 55e92004b5652a74ff70a4baca52ffae79a3b5ea /httemplate/search/elements/search.html | |
| parent | 08b37b2247f01a274879b63a3d6b921c3e6db844 (diff) | |
default pages of 100 entries
Diffstat (limited to 'httemplate/search/elements/search.html')
| -rw-r--r-- | httemplate/search/elements/search.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/httemplate/search/elements/search.html b/httemplate/search/elements/search.html index 4ef8c25d3..7f4bbf812 100644 --- a/httemplate/search/elements/search.html +++ b/httemplate/search/elements/search.html @@ -383,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 { |
