diff --git a/lam/lib/lists.inc b/lam/lib/lists.inc
index 2c206f77..84f3e12c 100644
--- a/lam/lib/lists.inc
+++ b/lam/lib/lists.inc
@@ -303,7 +303,7 @@ class lamList {
"\n");
}
if ($this->page < ($count / $this->maxPageEntries)) {
- echo("type . "&norefresh=true&page=" . ($count / $this->maxPageEntries) .
+ echo("type . "&norefresh=true&page=" . round(($count / $this->maxPageEntries)) .
"&sort=" . $this->sortColumn . "&sortdirection=" . $this->sortDirection . $this->filterText . "\">" .
"\n");
}