Skip to content

max_results=1 should be honored on aggregation endpoint #1250

@antomor

Description

@antomor

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions