diff --git a/public/js/index.js b/public/js/index.js index 770009359..fad531cc4 100644 --- a/public/js/index.js +++ b/public/js/index.js @@ -2621,7 +2621,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