diff --git a/modules/netranges.php b/modules/netranges.php index dd12ced98d..0450356fcc 100644 --- a/modules/netranges.php +++ b/modules/netranges.php @@ -764,6 +764,8 @@ function getBuildings(array $filter) if (isset($_GET['page'])) { $page = intval($_GET['page']); +} elseif (isset($_POST['page'])) { + $page = intval($_POST['page']); } elseif ($SESSION->is_set('netranges_page')) { $SESSION->restore('netranges_page', $page); $page = intval($page); diff --git a/templates/default/net/netranges.html b/templates/default/net/netranges.html index 891101af19..92544edec2 100644 --- a/templates/default/net/netranges.html +++ b/templates/default/net/netranges.html @@ -302,7 +302,7 @@

{$layout.pagetitle}

{if $pagination->getTotal() != 0} - {include file="pagination.html"} + {include file="pagination.html" form="netranges"} {/if} @@ -510,7 +510,7 @@

{$layout.pagetitle}

{if $pagination->getTotal() != 0} - {include file="pagination.html"} + {include file="pagination.html" form="netranges"} {/if}