Skip to content
Snippets Groups Projects
Commit 3568b889 authored by Francis Appels's avatar Francis Appels
Browse files

Update list.php

Fix page offset calculation
parent 973339e0
No related branches found
No related tags found
No related merge requests found
......@@ -61,7 +61,7 @@ $sortfield = GETPOST("sortfield",'alpha');
$sortorder = GETPOST("sortorder",'alpha');
$page = GETPOST("page",'int');
if ($page == -1) { $page = 0; }
$offset = $liste_limit * $page;
$offset = $limit * $page;
$pageprev = $page - 1;
$pagenext = $page + 1;
if (! $sortfield) $sortfield="p.ref";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment