The plugin checks for pagination variable directly and ignores the twig syntax:
if ($page && ($page->value('header.content.pagination') || $page->value('header.pagination'))) {
So if you have something like that in a twig template:
{% set options = { items: {'@page.children': '/blog'}, 'limit':5, 'pagination':true, 'order': {'by': 'date', 'dir': 'desc'} } %}
it will ignore the option 'pagination':true and plugin won't work!
If someone could suggest a solution it would be great.
The plugin checks for pagination variable directly and ignores the twig syntax:
if ($page && ($page->value('header.content.pagination') || $page->value('header.pagination'))) {
So if you have something like that in a twig template:
{% set options = { items: {'@page.children': '/blog'}, 'limit':5, 'pagination':true, 'order': {'by': 'date', 'dir': 'desc'} } %}
it will ignore the option 'pagination':true and plugin won't work! If someone could suggest a solution it would be great.