[PR #2600] [CLOSED] Fix repo search result #16497

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

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/2600
Author: @daviian
Created: 9/25/2017
Status: Closed

Base: masterHead: fix-repo-units


📝 Commits (2)

  • fed4ee8 Add repository search tests
  • 866c5cf fix search implementation

📊 Changes

7 files changed (+385 additions, -28 deletions)

View changed files

📝 integrations/api_repo_test.go (+214 -0)
📝 models/org.go (+8 -5)
📝 models/org_test.go (+4 -4)
📝 models/repo_list.go (+30 -8)
📝 models/repo_list_test.go (+126 -8)
📝 models/user.go (+2 -2)
📝 routers/repo/repo.go (+1 -1)

📄 Description

Targets #2562, #2399, #1794 and #2595 too.

fixes wrong search result.
Most of the changes are adding tests from @Morlinest


🔄 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/2600 **Author:** [@daviian](https://github.com/daviian) **Created:** 9/25/2017 **Status:** ❌ Closed **Base:** `master` ← **Head:** `fix-repo-units` --- ### 📝 Commits (2) - [`fed4ee8`](https://github.com/go-gitea/gitea/commit/fed4ee8a5c18239225979e34d8ffe53712236070) Add repository search tests - [`866c5cf`](https://github.com/go-gitea/gitea/commit/866c5cf0b00206fc6a96215c9096cbb84fb905c5) fix search implementation ### 📊 Changes **7 files changed** (+385 additions, -28 deletions) <details> <summary>View changed files</summary> 📝 `integrations/api_repo_test.go` (+214 -0) 📝 `models/org.go` (+8 -5) 📝 `models/org_test.go` (+4 -4) 📝 `models/repo_list.go` (+30 -8) 📝 `models/repo_list_test.go` (+126 -8) 📝 `models/user.go` (+2 -2) 📝 `routers/repo/repo.go` (+1 -1) </details> ### 📄 Description Targets #2562, #2399, #1794 and #2595 too. fixes wrong search result. Most of the changes are adding tests from @Morlinest --- <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:12:00 -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#16497