Skip to content

Repo paging in dashboard shows too many pages with 30 repos #15601

Closed
@fnetX

Description

@fnetX
  • Gitea version (or commit ref): 1.13 (Codeberg), 1.15 (try.gitea.io)
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:

Description

The paging of repos is broken in the user dashboard with (n)*15 repos, n >= 2.
So with 15 repos, there is no paging yet, but with exactly 30 repos, you can click to the second page, and it also offers you to navigate to the third page (repos 31 - 45) - but it is just empty because there are no more repos to show.
I assume that this also happens with 45, 60, 75, 90 repos etc.

Feel free to join the 30repos org on try.gitea.io, I assume the maintainers have admin accounts on the instance.

Screenshots

screenshot, second page still offers a button to the right

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issueLikely to be an easy fixtopic/uiChange the appearance of the Gitea UI

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions