[PR #3969] [MERGED] Added repository search ordered by stars or forks. Forks column in admin repo list. #17172

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

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/3969
Author: @axifive
Created: 5/15/2018
Status: Merged
Merged: 5/24/2018
Merged by: @lunny

Base: masterHead: search-repo-by-starts-forks


📝 Commits (3)

  • b8ad909 Added repository search order by stars or forks.
  • db4fccf Renamed search repo template
  • e1da9d7 Merge branch 'master' into search-repo-by-starts-forks

📊 Changes

11 files changed (+99 additions, -16 deletions)

View changed files

📝 models/repo_list.go (+4 -0)
📝 models/user.go (+2 -2)
📝 options/locale/locale_en-US.ini (+5 -0)
📝 routers/home.go (+16 -8)
📝 routers/user/profile.go (+8 -0)
📝 templates/admin/base/search.tmpl (+0 -2)
📝 templates/admin/repo/list.tmpl (+3 -1)
templates/admin/repo/search.tmpl (+29 -0)
templates/explore/repo_search.tmpl (+29 -0)
📝 templates/explore/repos.tmpl (+1 -1)
📝 templates/user/profile.tmpl (+2 -2)

📄 Description

Hello. This PR adds new sort options to search repositories. Also, I added Forks column to admin repository list.

Explore repos search:
Most stars
screenshot 2018-05-15 17 25 29
Most forks
screenshot 2018-05-15 17 25 38

Profile repos search:
Most stars
screenshot 2018-05-15 17 25 50
Fewest forks
screenshot 2018-05-15 17 25 59

Admin repos search:
screenshot 2018-05-15 17 24 44
screenshot 2018-05-15 17 25 05


🔄 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/3969 **Author:** [@axifive](https://github.com/axifive) **Created:** 5/15/2018 **Status:** ✅ Merged **Merged:** 5/24/2018 **Merged by:** [@lunny](https://github.com/lunny) **Base:** `master` ← **Head:** `search-repo-by-starts-forks` --- ### 📝 Commits (3) - [`b8ad909`](https://github.com/go-gitea/gitea/commit/b8ad909ef15921e37b5877d0e1eb3eea4669f0cc) Added repository search order by stars or forks. - [`db4fccf`](https://github.com/go-gitea/gitea/commit/db4fccf75aa2973437d3c7ff08c97c5f92115796) Renamed search repo template - [`e1da9d7`](https://github.com/go-gitea/gitea/commit/e1da9d7c54267f8198c7495edc0cbaa696588632) Merge branch 'master' into search-repo-by-starts-forks ### 📊 Changes **11 files changed** (+99 additions, -16 deletions) <details> <summary>View changed files</summary> 📝 `models/repo_list.go` (+4 -0) 📝 `models/user.go` (+2 -2) 📝 `options/locale/locale_en-US.ini` (+5 -0) 📝 `routers/home.go` (+16 -8) 📝 `routers/user/profile.go` (+8 -0) 📝 `templates/admin/base/search.tmpl` (+0 -2) 📝 `templates/admin/repo/list.tmpl` (+3 -1) ➕ `templates/admin/repo/search.tmpl` (+29 -0) ➕ `templates/explore/repo_search.tmpl` (+29 -0) 📝 `templates/explore/repos.tmpl` (+1 -1) 📝 `templates/user/profile.tmpl` (+2 -2) </details> ### 📄 Description Hello. This PR adds new sort options to search repositories. Also, I added Forks column to admin repository list. **Explore repos search:** Most stars ![screenshot 2018-05-15 17 25 29](https://user-images.githubusercontent.com/844963/40076791-874597e4-5888-11e8-856f-483d6ed33b4d.png) Most forks ![screenshot 2018-05-15 17 25 38](https://user-images.githubusercontent.com/844963/40076793-87675802-5888-11e8-8d36-32e9f0076884.png) **Profile repos search:** Most stars ![screenshot 2018-05-15 17 25 50](https://user-images.githubusercontent.com/844963/40076801-8d6cec80-5888-11e8-8af9-b4f379eae786.png) Fewest forks ![screenshot 2018-05-15 17 25 59](https://user-images.githubusercontent.com/844963/40076802-8d9062e6-5888-11e8-8d28-0b0f835a0867.png) **Admin repos search:** ![screenshot 2018-05-15 17 24 44](https://user-images.githubusercontent.com/844963/40076811-9234fcee-5888-11e8-9398-6a478ddb0e4d.png) ![screenshot 2018-05-15 17 25 05](https://user-images.githubusercontent.com/844963/40076812-92536652-5888-11e8-8da3-2d47bb7152e4.png) --- <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:28:21 -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#17172