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
I have 200 products but on any page loop.length returns 200 instead of 10, that causes twig loop utils to break.
It seems the problem is from DoctrineORMAdapter or Pagerfanta class which does not return number of current page results as twig loop iterator expects.
What is the solution here? I can happily create a PR if you'd guide me.
I'm using
And my twig looks like,
I have 200 products but on any page
loop.length
returns 200 instead of 10, that causes twig loop utils to break.It seems the problem is from DoctrineORMAdapter or Pagerfanta class which does not return number of current page results as twig loop iterator expects.
What is the solution here? I can happily create a PR if you'd guide me.
\cc @aramalipoor
The text was updated successfully, but these errors were encountered: