gogs: Cannot go to page 2 if more than 15 repos

  • Gogs version (or commit ref): https://dl.gogs.io/gogs_v0.9.97_linux_amd64.tar.gz, also tested with source install 0.9.99.0915
  • Git version: 2.9.3
  • Operating system: Ubuntu 14.04.5 LTS (GNU/Linux 2.6.32-042stab116.2 x86_64)
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • SQLite
  • Can you reproduce the bug at https://try.gogs.io:
    • Yes (provide example URL)
    • No - try.gogs.io only allow 10 repos
    • Not relevant
  • Log gist:

Description

  1. Create over 15 repos
  2. In ‘dashboard’, under ‘my repositories’, click ‘show more repositories’
  3. Click ‘Next’ or ‘2’ at the bottom of page, it will remain in page 1

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 20 (2 by maintainers)

Most upvoted comments

@LefsFlarey I think I found the issue. It only happen if username is “js”.

We definitely could do that but we have to live with the guilt that some guy named public wouldn’t be able to register.

That is now ultra strange. Can someone confirm this behaviour exists for the users,

assets
css
img
js
less
plugins