[PR #2572] [MERGED] Use custom type and constants to hold available order by options #16476

Closed
opened 2025-11-02 12:11:32 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/2572
Author: @Morlinest
Created: 9/22/2017
Status: Merged
Merged: 9/22/2017
Merged by: @lafriks

Base: masterHead: feature/use-order-by-custom-type


📝 Commits (1)

  • be45800 Use custom type and constants to hold order by options

📊 Changes

3 files changed (+51 additions, -32 deletions)

View changed files

📝 models/repo_list.go (+32 -13)
📝 routers/home.go (+9 -9)
📝 routers/user/profile.go (+10 -10)

📄 Description

Extracted from #2371. Replace strings for constants.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/go-gitea/gitea/pull/2572 **Author:** [@Morlinest](https://github.com/Morlinest) **Created:** 9/22/2017 **Status:** ✅ Merged **Merged:** 9/22/2017 **Merged by:** [@lafriks](https://github.com/lafriks) **Base:** `master` ← **Head:** `feature/use-order-by-custom-type` --- ### 📝 Commits (1) - [`be45800`](https://github.com/go-gitea/gitea/commit/be458009d44ff26d63137b76ea46031f3154020b) Use custom type and constants to hold order by options ### 📊 Changes **3 files changed** (+51 additions, -32 deletions) <details> <summary>View changed files</summary> 📝 `models/repo_list.go` (+32 -13) 📝 `routers/home.go` (+9 -9) 📝 `routers/user/profile.go` (+10 -10) </details> ### 📄 Description Extracted from #2371. Replace strings for constants. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-02 12:11:32 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#16476