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

max_page_size and page_size_param issue #8

Open
weierophinney opened this issue Dec 31, 2019 · 1 comment
Open

max_page_size and page_size_param issue #8

weierophinney opened this issue Dec 31, 2019 · 1 comment

Comments

@weierophinney
Copy link
Contributor

When I set the page_size_param higher than max_page_size the response returns with the value set to the param in the url instead of the max_page_size


Originally posted by @pearson-lucas-dev at zfcampus/zf-rest#61

@weierophinney
Copy link
Contributor Author

The value of the page_size_param will not change, and will continue to be represented as-is in generated links, but the collection should only return a count of results equal to the max_page_size. Can you clarify the behavior you're seeing, please?


Originally posted by @weierophinney at zfcampus/zf-rest#61 (comment)

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