summaryrefslogtreecommitdiff
path: root/httemplate/search/elements
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2017-02-02 08:43:13 -0800
committerIvan Kohler <ivan@freeside.biz>2017-02-02 08:43:13 -0800
commit61b3e0076cc6f08d4a00e1cf71ab40277ef17229 (patch)
treee1c48ec4ec5016b9a1264ef4a33f5bc25eec1561 /httemplate/search/elements
parentb2bc6e42d27b8bab7fa58500fe292a921b786854 (diff)
default pages of 100 entries
Diffstat (limited to 'httemplate/search/elements')
-rw-r--r--httemplate/search/elements/grouped-search/html2
-rw-r--r--httemplate/search/elements/search.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/httemplate/search/elements/grouped-search/html b/httemplate/search/elements/grouped-search/html
index 28d00404b..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;
}
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 {