-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Description
Just tried getPage on v3.0.0 Beta 1.
The page rendered my resources like getResources normally would but the placeholders for pagination were empty.
I debugged by checking the [properties] it was building and noticed the limit was 0.
I manually put a number on this line instead of NULL and it worked as expected.
$properties['limit'] = (isset($_GET['limit'])) ? intval($_GET['limit']) : 9;
Same snippet call as usual.
[[!getPage?
&element=`getResources`
&parents=`[[*id]]`
&tpl=`blog-card`
&includeTVs=`1`
&includeContent=`1`
&sortby=`publishedon`
&sortdir=`DESC`
&limit=`9`
]]
<ul class="pageNav clearfix">[[!+page.nav]]</ul>
Metadata
Metadata
Assignees
Labels
No labels