Skip to content
This repository was archived by the owner on May 17, 2018. It is now read-only.
This repository was archived by the owner on May 17, 2018. It is now read-only.

Uncaught RangeError: currentPage must be firstPage <= currentPage >= totalPages if 0-based. Got 7. #158

@hoangpx

Description

@hoangpx

My total_pages = 1 and my total_entries = 63. I'm displaying page with 100 items and change page size to 10. Then it throw this error.
This is my configuration :
state: {
pageSize: 20,
firstPage: 0

    },
    queryParams: {
        currentPage: "offset",
        pageSize: "limit",
        sortKey: "sortBy",
        totalRecords: "total_entries",
        order: "sortOrder"
    },

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions