Fixed wrong api request url for instances running in subfolders (#5247)

release/v1.15
kolaente 2018-11-03 13:20:02 +01:00 committed by Lauris BH
parent 225c48982b
commit 54259e2f88
1 changed files with 1 additions and 1 deletions

View File

@ -2626,7 +2626,7 @@ function initIssueList() {
$('.new-dependency-drop-list') $('.new-dependency-drop-list')
.dropdown({ .dropdown({
apiSettings: { apiSettings: {
url: '/api/v1/repos' + repolink + '/issues?q={query}', url: suburl + '/api/v1/repos' + repolink + '/issues?q={query}',
onResponse: function(response) { onResponse: function(response) {
var filteredResponse = {'success': true, 'results': []}; var filteredResponse = {'success': true, 'results': []};
// Parse the response from the api to work with our dropdown // Parse the response from the api to work with our dropdown