You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 text was updated successfully, but these errors were encountered:
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 text was updated successfully, but these errors were encountered: