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

using pageOneLimit and limit #18

Open
mkay opened this issue Sep 20, 2012 · 1 comment
Open

using pageOneLimit and limit #18

mkay opened this issue Sep 20, 2012 · 1 comment

Comments

@mkay
Copy link

mkay commented Sep 20, 2012

this still seems to be an issue :
http://forums.modx.com/thread?thread=76435

When using pageOneLimit getPage skips the rest of the first page's limit range.

means using limit=4 together with `pageOneLimit=`1 the first page shows just one resource (correct) but nav-page#2 will start with resource#5, skipping res#2, res#3 and res#4.
It also seems to break the page-nav, resulting in an empty last nav-page.

I've setup a quick demo here:
http://tinyurl.com/8oq6q38

MODX: 2.2.4
getPage: 1.2.3
getResources 1.5.1

I don't think this (pageOneLimit=1 (see demo)) is the intended behaviour. (?)

pageOneLimit is a great option to have. Especially with articles it could allow showing the full post on the first page and a list-view on the rest of the nav-pages.

@gedneystudio
Copy link

I'm also having this issue. Is there a workaround?

Thanks

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