[PR #1914] [MERGED] Fix search by issue type #16118

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

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/1914
Author: @ethantkoenig
Created: 6/8/2017
Status: Merged
Merged: 6/15/2017
Merged by: @bkcsoft

Base: masterHead: fix/issue_type_search


📝 Commits (2)

📊 Changes

5 files changed (+121 additions, -59 deletions)

View changed files

📝 integrations/issue_test.go (+50 -0)
📝 models/issue.go (+13 -39)
📝 models/unit_tests.go (+33 -7)
📝 routers/repo/issue.go (+11 -1)
📝 templates/repo/issue/list.tmpl (+14 -12)

📄 Description

Fixes #1886.

Other fixes/changes:

  • Only display the "Type" menu when the user is logged-in (otherwise a search for "Assigned to you" doesn't make much sense)
  • Fix ambiguous column references in GetIssueStats(..)
  • Proper error handling for GetIssueStats(..)

🔄 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/1914 **Author:** [@ethantkoenig](https://github.com/ethantkoenig) **Created:** 6/8/2017 **Status:** ✅ Merged **Merged:** 6/15/2017 **Merged by:** [@bkcsoft](https://github.com/bkcsoft) **Base:** `master` ← **Head:** `fix/issue_type_search` --- ### 📝 Commits (2) - [`1306055`](https://github.com/go-gitea/gitea/commit/1306055589b23e588e68585aab8533c39acd2d38) Fix search by issue type - [`f664256`](https://github.com/go-gitea/gitea/commit/f664256436107c9f87104ffddac1e192c3cf2f52) Integration test ### 📊 Changes **5 files changed** (+121 additions, -59 deletions) <details> <summary>View changed files</summary> 📝 `integrations/issue_test.go` (+50 -0) 📝 `models/issue.go` (+13 -39) 📝 `models/unit_tests.go` (+33 -7) 📝 `routers/repo/issue.go` (+11 -1) 📝 `templates/repo/issue/list.tmpl` (+14 -12) </details> ### 📄 Description Fixes #1886. Other fixes/changes: - Only display the "Type" menu when the user is logged-in (otherwise a search for "Assigned to you" doesn't make much sense) - Fix ambiguous column references in `GetIssueStats(..)` - Proper error handling for `GetIssueStats(..)` --- <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:02:43 -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#16118