[SOLVED] GraphQL top parameter not respected, cannot fetch more than 20 items

I’m submitting a…

[ x] Regression (a behavior that topped working in a new release)
[ ] Bug report
[ ] Performance issue
[ ] Documentation issue or request

Current behavior

With GraphQL Query: {
queryTestContentsWithTotal(top:24) {
total
items {
id
}
}
}

Total returns 24, but there are only 20 items listed

Expected behavior

When I specify top:XXXX I expect at most XXXX items returned, and not the default value of 20

Minimal reproduction of the problem

Create more than 20 content items in Schema. Query for contents using top: 21 parameter. Notice only 20 content items are returned.

Environment

  • [ ] Self hosted with version docker
  • [ ] Self hosted with IIS
  • [ ] Self hosted with other version
  • [ x] Cloud version

Browser:

  • [x] Chrome (desktop)
  • [ ] Chrome (Android)
  • [ ] Chrome (iOS)
  • [ ] Firefox
  • [ ] Safari (desktop)
  • [ ] Safari (iOS)
  • [ ] IE
  • [ ] Edge

Others:

I also see that the REST API has the same issue: https://cloud.squidex.io/api/content/APP/SCHEMA?$top=24

1 Like

Thank you, I will fix it today.

Fix is in the Build pipeline.