Skip to content

Bug - [Pagination] - [The start index is bigger than the end when switching the perPgae number at the last page.] #7734

@wangyedev

Description

@wangyedev

Describe the problem
The start index is bigger than the end index when you switch perPage number from a smaller number(e.g 10) to bigger(e.g 100) and when you are on the last page already.

How do you reproduce the problem?
Screen Recording 2022-07-25 at 15 28 27

Expected behavior
The start index is smaller than the end.

Is this issue blocking you?
No, I can set the page number to 1 every time I switch the perPage number. However, it seems better to keep this behavior default or compute the right index.

Screenshots
The wrong index is 5201 - 523 of 523:
Screen Shot 2022-07-25 at 15 23 11
It should be 501-523 of 523:
Screen Shot 2022-07-25 at 15 42 48

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions