Increase number of rows on list page

Hi there,

Does anyone know how to increase the number of rows shown on the list page? Currently each module I have shows 20 rows by default and I wish to increase it to 50.

Thanks!

Hi uncertainty,

You can modify this setting in Admin -> System Settings.

Thanks,

Will.

3 Likes

Hi Will,
Here’s how to do on each module, but I want to make on the results of each report.
For example:
I want to filter the Account information is missing, but the results are limited to 20 lines on each page (total 120 records). There is no way limit or not for paging.

Thanks for that tip Will. I didn’t see a setting for reports; is there a setting to change the default number of rows for reports? Trevor

Hi Trevor,

There’s not an option for this as yet, but AOR is in early development.

Thanks,

Will.

Hi,

I know this is an old thread but just in case someone is looking for a resolution to this problem this is what i did.

To increase the number of rows in a report you need to change a bit of code.

Version: 7.4.1

File name: AOR_Report.php

Location: /modules/AOR_Reports/

Line: 271

Alter max rows - Orig was 20 but because i had 70 accounts i increased the max to 100 so i could see them all.

-----------snippet-----------

$report_sql = $this->build_report_query($group_value);
// CODE CHANGE - orig was 20
[color=#ff0000] $max_rows = 100; [/color]
$total_rows = 0;
$count_sql = explode(‘ORDER BY’, $report_sql);
$count_query = ‘SELECT count(*) c FROM (’.$count_sql[0].’) as n’;

Please note: If you change code, make sure you keep a log of changes because when updates are implemented you may loose your changes.

Cheers

:slight_smile:

Just a quick followup to this old thread since I only just came across it … at least as of 7.8.2, changing the “Listview items per page:” in Admin -> System Settings does now control the number of lines in the report also (So no need for a code modification anymore!)

2 Likes