Fix dependent issue searching when gitea is run in subpath (#5392) (#5400)

This commit is contained in:
Lauris BH
2018-11-25 19:27:17 -05:00
committed by techknowlogick
parent 773addf727
commit 328e38ebc7
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -2625,7 +2625,7 @@ function initIssueList() {
$('.new-dependency-drop-list')
.dropdown({
apiSettings: {
url: suburl + '/api/v1/repos' + repolink + '/issues?q={query}',
url: suburl + '/api/v1/repos/' + repolink + '/issues?q={query}',
onResponse: function(response) {
var filteredResponse = {'success': true, 'results': []};
// Parse the response from the api to work with our dropdown