You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Ensure the Rows Per Page option shows limitations set by configuration #5413
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'
vi /etc/php/8.1/apache2/php.ini
Find the following line, uncomment and change the value to more than the max+1
; How many GET/POST/COOKIE input variables may be accepted
max_input_vars = 5001
Restart Apache (systemctl restart apache2)
This should probably be an installation check saying that you will be limited to the number of rows per page unless to change this value.
I've added an extra line of text to the help of the field that shows the current value, but anything above the setting - 20 is automatically removed to ensure we have enough fields to handle submissions.
changed the title [-]Rows Per Page - Not all options are available[/-][+]Ensure the Rows Per Page option shows limitations set by configuration[/+]on Sep 3, 2023
Activity
esundberg commentedon Jul 22, 2023
Hitting a Max_input_vars limit in PHP.
vi /etc/php/8.1/apache2/php.ini
Find the following line, uncomment and change the value to more than the max+1
; How many GET/POST/COOKIE input variables may be accepted
max_input_vars = 5001
Restart Apache (systemctl restart apache2)
This should probably be an installation check saying that you will be limited to the number of rows per page unless to change this value.
netniV commentedon Jul 23, 2023
I've added an extra line of text to the help of the field that shows the current value, but anything above the setting - 20 is automatically removed to ensure we have enough fields to handle submissions.
Rows Per Page - Not all options are available (#5413)
[-]Rows Per Page - Not all options are available[/-][+]Ensure the Rows Per Page option shows limitations set by configuration[/+]