/admin/users sorting options are incorrect #1154

Closed
opened 2025-11-02 03:50:22 -06:00 by GiteaMirror · 0 comments
Owner

Originally created by @thehowl on GitHub (Oct 16, 2017).

  • Gitea version (or commit ref): master ( 9e865ce )
  • Database:
    • MySQL
  • Can you reproduce the bug at https://try.gitea.io:
    • Can't (not an admin)

Description

In /admin/users, if you select sorting by "newest", you will actually the oldest (lower ID) users at the top, and if you select "oldest", you will get the newest (highest ID) at the top. This is also in contradiction with the URL, which states sort=oldest when the Sort dropdown says "Newest"

Screenshots

sharenixtemp 2ppcy0irqtd4k4jitgw

Originally created by @thehowl on GitHub (Oct 16, 2017). - Gitea version (or commit ref): master ( 9e865ce ) - Database: - [x] MySQL - Can you reproduce the bug at https://try.gitea.io: - [x] Can't (not an admin) ## Description In /admin/users, if you select sorting by "newest", you will actually the oldest (lower ID) users at the top, and if you select "oldest", you will get the newest (highest ID) at the top. This is also in contradiction with the URL, which states `sort=oldest` when the Sort dropdown says "Newest" ## Screenshots ![sharenixtemp 2ppcy0irqtd4k4jitgw](https://user-images.githubusercontent.com/4681308/31630837-1f0c3618-b2b8-11e7-9514-abf4b2894abc.png)
GiteaMirror added the type/bug label 2025-11-02 03:50:22 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#1154