-
-
Notifications
You must be signed in to change notification settings - Fork 427
Description
Describe the bug
Number of rows per page not showing the option to select above 750 rows. Ubuntu 22.04.2, PHP 8.1.2-1
"global_arrays.php"
$item_rows = array(
10 => '10',
15 => '15',
16 => '16',
17 => '17',
18 => '18',
19 => '19',
20 => '20',
21 => '21',
22 => '22',
23 => '23',
24 => '24',
25 => '25',
26 => '26',
27 => '27',
30 => '30',
40 => '40',
44 => '44',
45 => '45',
50 => '50',
100 => '100',
250 => '250',
500 => '500',
750 => '750',
1000 => '1000',
2000 => '2000',
3000 => '3000',
4000 => '4000',
5000 => '5000',
);
However on the setting page the largest number of rows I can select is 750

In
'num_rows_table' => array(
'friendly_name' => __('Rows Per Page'),
'description' => __('The default number of rows to display on for a table.'),
'method' => 'drop_array',
'default' => '30',
'array' => $item_rows
At the bottom of the file I printed a debug of $item_rows and recieved the following.
print "Debug
";
print_r($item_rows);
Printing the values of

To Reproduce
Steps to reproduce the behavior:
Go to Settings > Visual > Rows Per Page and I only see 750.
Expected behavior
You should see up to 5000
Screenshots
Attached
Desktop (please complete the following information)
-
OS: Windows 10
-
Browser Chrome
-
Version 114.0.5735.248
Additional context
Might be related to the following.
CHANGELOG:-issue#3349: Prevent setting the PHP variable max_input_vars since it is read only
CHANGELOG:-issue#2936: Installer will loop when number of tables exceeds PHP's max_input_vars limit
CHANGELOG:-feature: Adjust the max table rows based upon value of 'max_input_vars'