Sage-Bionetworks / sage-monorepo

Where OpenChallenges, Schematic, and other Sage open source apps are built
https://sage-bionetworks.github.io/sage-monorepo/
Apache License 2.0
21 stars 12 forks source link

[Bug] The paginator shows more than one page when the first page is not full #1320

Closed tschaffter closed 1 year ago

tschaffter commented 1 year ago

Is there an existing issue for this?

What projects are you seeing the problem on?

OpenChallenges

Current behavior

The default page size is 20. When making a query that leads to less results than 20, the paginator shows page numbers besides 1. Click on page 2 for instance shows an empty page.

image

Expected behavior

In the situation described above, the paginator should only show page number 1.

Anything else?

No response

Commit ID

a60ca8b

Are you developing inside the dev container?

Code of Conduct

tschaffter commented 1 year ago

@rrchai said that he can reproduce the issue.