Branch sorting (branches and PR page) #2745

Closed
opened 2025-11-02 04:46:32 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @RatkoR on GitHub (Jan 12, 2019).

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

Description

Can branches be sorted by last commit date or maybe by date created? They are now sorted alphabetically and this doesn't help me much when I'd like to find my most recent branch.

I have to go and type it's name, it would be much easier to pick it if it was up front in list.

This goes for "Branches" page or when creating a new pull request.

Screenshots

branches

Here, test4 branch would come first in list if they were sorted by last commit date.

Originally created by @RatkoR on GitHub (Jan 12, 2019). - Gitea version (or commit ref): 176a604 - Git version: 2.17.1 - Operating system: ubuntu - Database (use `[x]`): - [ ] PostgreSQL - [x ] MySQL - [ ] MSSQL - [ ] SQLite - Can you reproduce the bug at https://try.gitea.io: - [ X] Yes (provide example URL) - [ ] No - [ ] Not relevant - Log gist: ## Description Can branches be sorted by last commit date or maybe by date created? They are now sorted alphabetically and this doesn't help me much when I'd like to find my most recent branch. I have to go and type it's name, it would be much easier to pick it if it was up front in list. This goes for "Branches" page or when creating a new pull request. ## Screenshots ![branches](https://user-images.githubusercontent.com/6648783/51079495-3cc00c00-16c8-11e9-8de8-4a1ce7e28710.png) Here, `test4` branch would come first in list if they were sorted by last commit date.
GiteaMirror added the type/proposal label 2025-11-02 04:46:32 -06:00
Author
Owner

@swuecho commented on GitHub (Nov 19, 2020):

Anyone give some guide for this issue. I will try to implement.

@swuecho commented on GitHub (Nov 19, 2020): Anyone give some guide for this issue. I will try to implement.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#2745