Commit 9ef3dfc7 authored by Nigel McNie's avatar Nigel McNie
Browse files

Copy/paste complete wtf man. Fix the limit/offset problem with artefact...

Copy/paste complete wtf man. Fix the limit/offset problem with artefact pagination properly this time.
parent e498627f
......@@ -1166,7 +1166,7 @@ class View {
$elementname = $data['name'];
$template = $data['template'];
$params['offset'] -= $params['offset'] % $params['limit'];
$offset -= $offset % $limit;
safe_require('blocktype', $data['blocktype']);
$blocktypeclass = generate_class_name('blocktype', $data['blocktype']);
......
Markdown is supported
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