[PR #1009] [MERGED] fix: Wrong repo list on Explore page if user already loggin. #15709

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

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/1009
Author: @appleboy
Created: 2/22/2017
Status: Merged
Merged: 2/22/2017
Merged by: @lunny

Base: masterHead: search_fix


📝 Commits (3)

  • 2c9301c fix: Wrong repo list on Explore page if user already loggin.
  • 5e3c405 fix: code readable.
  • 6a33a07 fix: declare variable

📊 Changes

4 files changed (+128 additions, -12 deletions)

View changed files

📝 models/fixtures/repository.yml (+36 -0)
📝 models/fixtures/user.yml (+15 -0)
📝 models/repo.go (+25 -12)
📝 models/repo_test.go (+52 -0)

📄 Description

fix #934 and also add unit testing.

User already login.

screen shot 2017-02-22 at 3 19 40 pm

User not login

screen shot 2017-02-22 at 3 19 32 pm


🔄 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/1009 **Author:** [@appleboy](https://github.com/appleboy) **Created:** 2/22/2017 **Status:** ✅ Merged **Merged:** 2/22/2017 **Merged by:** [@lunny](https://github.com/lunny) **Base:** `master` ← **Head:** `search_fix` --- ### 📝 Commits (3) - [`2c9301c`](https://github.com/go-gitea/gitea/commit/2c9301cbcc6f189b9e48566faaf7e14fc5668eed) fix: Wrong repo list on Explore page if user already loggin. - [`5e3c405`](https://github.com/go-gitea/gitea/commit/5e3c40587270aa3124207f07acda3e10be5b7a23) fix: code readable. - [`6a33a07`](https://github.com/go-gitea/gitea/commit/6a33a07259696fef21b5f49c07296e65b94f1c29) fix: declare variable ### 📊 Changes **4 files changed** (+128 additions, -12 deletions) <details> <summary>View changed files</summary> 📝 `models/fixtures/repository.yml` (+36 -0) 📝 `models/fixtures/user.yml` (+15 -0) 📝 `models/repo.go` (+25 -12) 📝 `models/repo_test.go` (+52 -0) </details> ### 📄 Description fix #934 and also add unit testing. User already login. ![screen shot 2017-02-22 at 3 19 40 pm](https://cloud.githubusercontent.com/assets/21979/23201139/1fec6508-f913-11e6-8fc9-30d56fbf5598.png) User not login ![screen shot 2017-02-22 at 3 19 32 pm](https://cloud.githubusercontent.com/assets/21979/23201145/28c6e248-f913-11e6-970e-504990a7f66d.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 11:52:49 -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#15709