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_results=1 should be honored on aggregation endpoint #1250

Closed
antomor opened this issue Apr 3, 2019 · 0 comments
Closed

max_results=1 should be honored on aggregation endpoint #1250

antomor opened this issue Apr 3, 2019 · 0 comments
Milestone

Comments

@antomor
Copy link

@antomor antomor commented Apr 3, 2019

Expected Behavior

When I configure an endpoint with aggregation, I would expect that the response from a get request contains 1 item if I pass max_results=1 .

Actual Behavior

Actually the aggregation endpoints return all items (I have only 38 items in the collection) if max_results is set to 1.

Environment

  • Python version: 3.7.1 64bit
  • Eve version: 0.8.1
@nicolaiarocci nicolaiarocci added this to the 0.8 milestone Apr 4, 2019
@nicolaiarocci nicolaiarocci removed this from the 0.8 milestone Apr 4, 2019
@nicolaiarocci nicolaiarocci added this to the 0.8.2 milestone Apr 4, 2019
@nicolaiarocci nicolaiarocci changed the title Wrong max_results on aggreagation endpoint. max_results=1 should be honored on aggregation endpoint Apr 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants