ClearFoundation Tracker - ClearOS
View Issue Details
0012941ClearOSapp-firewall-custom - Custom Firewallpublic2017-02-06 08:262017-02-08 17:18
bchambers 
bchambers 
normalmajoralways
closedfixed 
7.2.0 
7.3.07.3.0 
0012941: Pagination causes saved rules to be cut
Pagination and then performing a sort operation will drop from the custom firewall file all rules except those listed in the table (visible).

Remove pagination.
No tags attached.
Issue History
2017-02-06 08:26bchambersNew Issue
2017-02-06 08:26bchambersStatusnew => assigned
2017-02-06 08:26bchambersAssigned To => bchambers
2017-02-06 08:27bchambersNote Added: 0004751
2017-02-06 08:33bchambersStatusassigned => acknowledged
2017-02-06 08:33bchambersStatusacknowledged => confirmed
2017-02-06 08:34bchambersStatusconfirmed => resolved
2017-02-06 08:34bchambersFixed in Version => 7.3.0
2017-02-06 08:34bchambersResolutionopen => fixed
2017-02-08 17:18user2Statusresolved => closed

Notes
(0004751)
bchambers   
2017-02-06 08:27   
In /usr/clearos/apps/firewall_custom/views/summary.php

Look for:

$options = array (
    'sort' => FALSE,
    'id' => 'summary_rule',
    'row-reorder' => TRUE,
    'row-enable-disable' => TRUE
);

And modify to look like this:

$options = array (
    'sort' => FALSE,
    'pagination' => FALSE,
    'id' => 'summary_rule',
    'row-reorder' => TRUE,
    'row-enable-disable' => TRUE
);