diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/repo/issue/view_content/sidebar.tmpl | 1 | ||||
-rw-r--r-- | templates/swagger/v1_json.tmpl | 6 |
2 files changed, 7 insertions, 0 deletions
diff --git a/templates/repo/issue/view_content/sidebar.tmpl b/templates/repo/issue/view_content/sidebar.tmpl index dd58e8b216..02564643cc 100644 --- a/templates/repo/issue/view_content/sidebar.tmpl +++ b/templates/repo/issue/view_content/sidebar.tmpl @@ -428,6 +428,7 @@ <input type="hidden" id="repolink" value="{{$.RepoRelPath}}"> <input type="hidden" id="repoId" value="{{.Repository.ID}}"> <input type="hidden" id="crossRepoSearch" value="{{.AllowCrossRepositoryDependencies}}"> + <input type="hidden" id="type" value="{{.IssueType}}"> <!-- I know, there is probably a better way to do this --> <input type="hidden" id="issueIndex" value="{{.Issue.Index}}"/> diff --git a/templates/swagger/v1_json.tmpl b/templates/swagger/v1_json.tmpl index 8ff4597b2e..95932d9e02 100644 --- a/templates/swagger/v1_json.tmpl +++ b/templates/swagger/v1_json.tmpl @@ -1397,6 +1397,12 @@ "description": "repository to prioritize in the results", "name": "priority_repo_id", "in": "query" + }, + { + "type": "string", + "description": "filter by type (issues / pulls) if set", + "name": "type", + "in": "query" } ], "responses": { |