From 54259e2f880365d65340ade6608007b3c5eb2ed5 Mon Sep 17 00:00:00 2001 From: kolaente Date: Sat, 3 Nov 2018 13:20:02 +0100 Subject: [PATCH] Fixed wrong api request url for instances running in subfolders (#5247) --- public/js/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/js/index.js b/public/js/index.js index 0bc28c4f96..9aafa7d646 100644 --- a/public/js/index.js +++ b/public/js/index.js @@ -2626,7 +2626,7 @@ function initIssueList() { $('.new-dependency-drop-list') .dropdown({ apiSettings: { - url: '/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