organization repository sort order #3139

Closed
opened 2025-11-02 05:01:48 -06:00 by GiteaMirror · 6 comments
Owner

Originally created by @fragfutter on GitHub (Apr 4, 2019).

  • Gitea version (or commit ref): 1.7.2, 28fcbf3
  • Git version:
  • Operating system: rhel
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Not relevant
  • Log gist:

Description

The sort order of organization repositories doesn't work for logged in users.

Reproduce

  • create organization
  • add mutliple repos to organization
  • go to organization overview
  • change sort order, for example switch between alphabetical and revers alphabetical
  • log out
  • change sort order

https://try.gitea.io/order_issue?sort=reversealphabetically
https://try.gitea.io/order_issue?sort=alphabetically

notice different URLs but same order of repositories

alphabetical
reverse alphabetical

Originally created by @fragfutter on GitHub (Apr 4, 2019). - Gitea version (or commit ref): 1.7.2, 28fcbf3 - Git version: - Operating system: rhel - Database (use `[x]`): - [x] PostgreSQL - [ ] MySQL - [ ] MSSQL - [ ] SQLite - Can you reproduce the bug at https://try.gitea.io: - [x] Yes (provide example URL) - [ ] No - [ ] Not relevant - Log gist: ## Description The sort order of organization repositories doesn't work for logged in users. ## Reproduce - create organization - add mutliple repos to organization - go to organization overview - change sort order, for example switch between alphabetical and revers alphabetical - log out - change sort order https://try.gitea.io/order_issue?sort=reversealphabetically https://try.gitea.io/order_issue?sort=alphabetically notice different URLs but same order of repositories ![alphabetical](https://user-images.githubusercontent.com/531718/55566700-86832600-56fc-11e9-90a0-3bf0849caadc.png) ![reverse alphabetical](https://user-images.githubusercontent.com/531718/55566708-88e58000-56fc-11e9-904c-4126831f3b23.png)
GiteaMirror added the topic/uitype/bug labels 2025-11-02 05:01:48 -06:00
Author
Owner

@fragfutter commented on GitHub (Apr 8, 2019):

update: sorting also works if the logged in user is superuser/admin

@fragfutter commented on GitHub (Apr 8, 2019): update: sorting also works if the logged in user is superuser/admin
Author
Owner

@saitho commented on GitHub (Apr 20, 2019):

Seems to work now. Can you check again? ^^

@saitho commented on GitHub (Apr 20, 2019): Seems to work now. Can you check again? ^^
Author
Owner

@lunny commented on GitHub (Apr 21, 2019):

I cannot reproduce this on https://gitea.com/gitea, will close this and please feel free to reopen.

@lunny commented on GitHub (Apr 21, 2019): I cannot reproduce this on https://gitea.com/gitea, will close this and please feel free to reopen.
Author
Owner

@fragfutter commented on GitHub (Apr 24, 2019):

issue is still open for 1.8.0 (local installed) and for try.gitea.com (08d8ea9).

Please note that this is not an issue for accounts with admin privileges.

@fragfutter commented on GitHub (Apr 24, 2019): issue is still open for 1.8.0 (local installed) and for try.gitea.com (08d8ea9). Please note that this is not an issue for accounts with admin privileges.
Author
Owner

@leafney commented on GitHub (May 7, 2019):

Cannot search except sort on org home page login with non-admin,gitea version is 1.8.0 (799f5e0) .
After switching to Administrator privileges, it's all right.
Maybe this is the same issues.

@leafney commented on GitHub (May 7, 2019): Cannot search except sort on org home page login with non-admin,gitea version is 1.8.0 (799f5e0) . After switching to Administrator privileges, it's all right. Maybe this is the same issues.
Author
Owner

@fragfutter commented on GitHub (May 10, 2019):

confirming sort order issue is fixed with 1.8.1

@fragfutter commented on GitHub (May 10, 2019): confirming sort order issue is fixed with 1.8.1
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#3139