Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Limit parameter only working on first sibling page #17

Open
sonicpunk opened this issue Aug 28, 2015 · 2 comments
Open

Limit parameter only working on first sibling page #17

sonicpunk opened this issue Aug 28, 2015 · 2 comments

Comments

@sonicpunk
Copy link

On a current project, I have set the limit to 3 in my siblingsnav snippet call

[[!siblingNav? &limit=3 &rowTpl=sn.proj.rowTpl &selfTpl=sn.proj.selfTpl &firstTpl=sn.proj.firstTpl &prevTpl=sn.proj.prevTpl &nextTpl=sn.proj.nextTpl &lastTpl=sn.proj.lastTpl]]

On the first sibling page it shows only 3 row links as I wanted, but when I click on the second sibling page or any other page, the limit is no longer adhered to and the row list shows 5 resources.

@sonicpunk
Copy link
Author

screen shot 2015-08-28 at 08 37 57

screen shot 2015-08-28 at 08 38 07

screen shot 2015-08-28 at 08 41 16

@sonicpunk
Copy link
Author

After further working on the project, I have come to see that the limit variable doesn't seem to do anything consistently. On first load it seems to work, but then if you click through the nav links, the following pages just show everything

screen shot 2015-09-03 at 09 27 58

screen shot 2015-09-03 at 09 28 29

1.2.2 Version is installed

@sonicpunk sonicpunk reopened this Sep 3, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant