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

Comments

Projects
None yet
2 participants
@antomor
Copy link

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 modified the milestones: 0.8, 0.8.2 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
You can’t perform that action at this time.