From 499d13212411960f8607f67c421afd726730528b Mon Sep 17 00:00:00 2001 From: Lauris BH Date: Sun, 25 Nov 2018 19:25:55 +0200 Subject: Fix dependent issue searching when gitea is run in subpath (#5392) --- public/js/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'public/js/index.js') diff --git a/public/js/index.js b/public/js/index.js index 9e33ac7de3..1e7dd4da19 100644 --- a/public/js/index.js +++ b/public/js/index.js @@ -2712,7 +2712,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 -- cgit v1.2.3