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

Improve the pagination object returned in lists, including more meaningful properties #155

Closed
acelaya opened this issue Jun 17, 2018 · 0 comments
Assignees
Milestone

Comments

@acelaya
Copy link
Member

acelaya commented Jun 17, 2018

Current structure:

{
  "pagination": {
    "currentPage": 1,
    "pagesCount": 2
  }
}

New structure:

{
  "pagination": {
    "currentPage": 2,
    "pagesCount": 13,
    "itemsPerPage": 10,
    "itemsInCurrentPage": 10,
    "totalItems": 126
  }
}
@acelaya acelaya added this to the 1.9.1 milestone Jun 17, 2018
@acelaya acelaya self-assigned this Jun 17, 2018
@acelaya acelaya closed this as completed Jun 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant