-
-
Notifications
You must be signed in to change notification settings - Fork 6k
Closed
Labels
type/enhancementAn improvement of existing functionalityAn improvement of existing functionality
Milestone
Description
- Git version: n/a
- Gitea version (or commit ref): master
- Operating system: n/a
- Database: n/a
- Can you reproduce the bug at https://try.gitea.io:
- Yes (the dashboard page when signed in)
- No
- Not relevant
- Log gist: n/a
I would like to be able to sort the "My Repositories" table on the Gitea home page by most recently updated (like Github does) rather than by alphabetically. An alphabetic sort isn't particularly useful, when a user has more than 15 repos it shows the same set all the time and newer active repos get buried.
The backend SearchRepositoryByName
function supports several sort modes, but they're not exposed in the /repos/search
API used by the JS for the widget. Hooking that up was straightfoward and I'll open a PR soon.
Passing the new parameters to the API call in the repo-search
is trivial if we're willing to unconditionally change that behavior. Making it user-selectable (and persistent) would be trickier but still possible.
hasufell, chrisrossx, Ed94 and v-malzam
Metadata
Metadata
Assignees
Labels
type/enhancementAn improvement of existing functionalityAn improvement of existing functionality