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

Adds an extra item to posts_per_page to ensure that the total number … #63

Closed

Conversation

james-wfaa
Copy link
Contributor

…of items in the query remain greater than the number asked for even when one is removed as a duplicate. Adds explicit order=ASC to graphql_cursor_compare_fields. Together these changes fix a bug where hasNextPage was wrongly returning false in wpgraphql when there should be a next page of results.

…of items in the query remain greater than the number asked for even when one is removed as a duplicate. Adds explicit order=ASC to graphql_cursor_compare_fields. Together these changes fix a bug where hasNextPage was wrongly returning false in wpgraphql when there should be a next page of results.
@james-wfaa james-wfaa closed this Dec 8, 2023
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