Add alphabetical project sorting (#33504)

Fixes #33500
This commit is contained in:
John Smith authored and GitHub committed 2025-02-05 19:09:43 +00:00
1 parent fa0c8ae50f
commit a025fa70ab
2 files changed
+6

No files matched your search

+4
View File
@@ -244,6 +244,10 @@ func GetSearchOrderByBySortType(sortType string) db.SearchOrderBy {
return db.SearchOrderByRecentUpdated
case "leastupdate":
return db.SearchOrderByLeastUpdated
case "alphabetically":
return "title ASC"
case "reversealphabetically":
return "title DESC"
default:
return db.SearchOrderByNewest
}