Get repo list with OrderBy alpha should respect owner too#30784
Conversation
|
Maybe we should have both? For dashaboard repositories, this order is better. But for explore, maybe order by repository name is better? |
|
Hmm I think I prefer new order in both cases. |
no at the moment it's just random if you want to sort in explore! - and for single owner lists this does not have any effect so we are fine there too |
|
@lunny PS: all other sort types are not affected at all ... so the pull request i cherry picked it form dose not have anything to do with this bugfix. in the end its just a bugfix :) |
|
What's pages will this change affect? I have tested locally on explore -> repositories -> sort=alphabetically and looks no any affection. Looks like there is a bug here, the code expect |
|
sure |
|
yes i can confirm, it's only used at the repo search api and the web route for repo search that the dashbord explicite use ... PS: we might refactor other repo search code paths to use that ... but thats not a bugfix but a refactoring then :) so i can confirm it |
…0784) instead of: - zowner/gcode - awesome/nul - zowner/nul - zowner/zzz we will get: - awesome/nul - zowner/gcode - zowner/nul - zowner/zzz
* giteaofficial/main: Make "sync branch" also sync object format and add tests (go-gitea#30878) Make sure git version&feature are always prepared (go-gitea#30877) Get repo list with OrderBy alpha should respect owner too (go-gitea#30784) Fix some UI problems (dropdown/container) (go-gitea#30849) Fix some UI problems (install/checkbox) (go-gitea#30854)
instead of:
we will get: