Skip to content

Per Page returns default when 0 is passed in for Search Pagination #94

Open
@pcasa

Description

@pcasa

On Agg calls, not interested in any of the hits items.

Example.

{
  users(aggs:{
    key:"my_agg", 
    value: {
    terms: {field:firstName, size:1000}
    }
  }, 
    perPage: 0) 
  {
    aggregations
    items {
      ...
    }
  }
}

The above will still return 20 items

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions