From d1df33544e4bd31d63c60a3c3144717773c17a6d Mon Sep 17 00:00:00 2001 From: Eliot Berriot <contact@eliotberriot.com> Date: Sat, 24 Feb 2018 17:22:40 +0100 Subject: [PATCH] Front: Fixed broken ajax call on radio builder (#69) --- CHANGELOG | 1 + front/src/components/library/radios/Filter.vue | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG b/CHANGELOG index 5572a45e..0a6e27da 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -4,6 +4,7 @@ Changelog 0.6 (Unreleased) ---------------- +- Front: Fixed broken ajax call on radio builder (#69) 0.5 (2018-02-24) ---------------- diff --git a/front/src/components/library/radios/Filter.vue b/front/src/components/library/radios/Filter.vue index 722ecbfb..0b71115f 100644 --- a/front/src/components/library/radios/Filter.vue +++ b/front/src/components/library/radios/Filter.vue @@ -114,7 +114,7 @@ export default { settings.fields = f.autocomplete_fields settings.minCharacters = 1 settings.apiSettings = { - url: config.BACKEND_URL + f.autocomplete + '?' + f.autocomplete_qs, + url: f.autocomplete + '?' + f.autocomplete_qs, beforeXHR: function (xhrObject) { xhrObject.setRequestHeader('Authorization', self.$store.getters['auth/header']) return xhrObject -- GitLab