summaryrefslogtreecommitdiffstats
path: root/templates/repo/issue/search.tmpl
diff options
context:
space:
mode:
authorparnic <github@parnic.com>2022-08-08 15:03:58 -0500
committerGitHub <noreply@github.com>2022-08-08 22:03:58 +0200
commit0066bc511321d393065fb17a0c91f15b8e483fe5 (patch)
tree2b6d83ce6d86fc0f7dce1e1b01f92ac708cc4a66 /templates/repo/issue/search.tmpl
parent2b101994a6f4724500908226f9a55816062f1da6 (diff)
downloadgitea-0066bc511321d393065fb17a0c91f15b8e483fe5.tar.gz
gitea-0066bc511321d393065fb17a0c91f15b8e483fe5.zip
Add issue filter for Author (#20578)
This adds a new filter option on the issues and pulls pages to filter by the author/poster/creator of the issue or PR
Diffstat (limited to 'templates/repo/issue/search.tmpl')
-rw-r--r--templates/repo/issue/search.tmpl1
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/repo/issue/search.tmpl b/templates/repo/issue/search.tmpl
index 0a5bb23bb6..c6f85caf6b 100644
--- a/templates/repo/issue/search.tmpl
+++ b/templates/repo/issue/search.tmpl
@@ -5,6 +5,7 @@
<input type="hidden" name="labels" value="{{.SelectLabels}}"/>
<input type="hidden" name="milestone" value="{{$.MilestoneID}}"/>
<input type="hidden" name="assignee" value="{{$.AssigneeID}}"/>
+ <input type="hidden" name="poster" value="{{$.PosterID}}"/>
<input name="q" value="{{.Keyword}}" placeholder="{{.locale.Tr "explore.search"}}...">
<button class="ui primary button" type="submit">{{.locale.Tr "explore.search"}}</button>
</div>