Skip to content
Snippets Groups Projects
Commit 9e7cac37 authored by Demian Katz's avatar Demian Katz
Browse files

Fixed backend limit bug in Primo.

parent e178e0d8
No related merge requests found
......@@ -100,7 +100,7 @@ class Backend extends AbstractBackend
if (null !== $params) {
$baseParams->mergeWith($params);
}
$baseParams->set('pageSize', $limit);
$baseParams->set('limit', $limit);
$page = $limit > 0 ? floor($offset / $limit) + 1 : 1;
$baseParams->set('pageNumber', $page);
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment