Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Genesys Backend Genesys Backend
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 26
    • Issues 26
    • List
    • Boards
    • Service Desk
    • Milestones
  • Deployments
    • Deployments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Genesys PGR
  • Genesys BackendGenesys Backend
  • Issues
  • #633
Closed
Open
Created Mar 17, 2022 by Matija Obreza@mobrezaOwner

Pageable default page size

In 7f3aa83e I limited the max page size for Subset and Dataset lists, but that was not really my intention: I wanted to set the default page size if l parameter is not specified by the user.

This piece of code Integer.min(l == null ? maxPageSize : l, maxPageSize) in Pagination needs to be updated to support a new defaultPageSize parameter:

Integer.min(l == null ? defaultPageSize : l, maxPageSize)

In Subset and Dataset API controllers, the defaultPageSize should be 20 and maxPageSize set at 50.

Assignee
Assign to
Time tracking