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

Set correct count query on page loader #254

Open
wants to merge 4 commits into
base: develop
Choose a base branch
from

Conversation

kuiche
Copy link
Contributor

@kuiche kuiche commented Apr 15, 2015

What does it do?

Uses the correct query to count. The paginator was only allowing 1 page as getCount() was only returning 1.

Also only load unpublished and deleted pages if set to do so.

How to test

Use the page loader in conjunction with the pagination service - use setPagination() on the loader. Make lots of duplicate pages so it goes over 1 page. Try calling getCount(). Ensure the numbers are correct.

Try the pagination with unpublished pages and deleted pages.

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

Successfully merging this pull request may close these issues.

1 participant