diff --git a/scipost_vue/components/SearchableObjectsTable.vue b/scipost_vue/components/SearchableObjectsTable.vue index 8136c71199a894861583b919d89238a2713f6b29..88640fa7db870bca2cce334708c593e3d5d67e3f 100644 --- a/scipost_vue/components/SearchableObjectsTable.vue +++ b/scipost_vue/components/SearchableObjectsTable.vue @@ -371,7 +371,7 @@ export default { const filteringFieldsAdvanced = ref([]) const fetchFilteringFields = async () => { - fetch(`/api/${props.url}/filtering_options`, {headers: headers}) + fetch(`/api/${props.url}/filtering_options/`, {headers: headers}) .then(stream => stream.json()) .then(data => { filteringFieldsBasic.value = data.basic @@ -486,7 +486,7 @@ export default { fetchingObjects.value = true errorFetchingObjects.value = null try { - const response = await fetch(`/api/${props.url}${queryParameters.value}`, {headers: headers}) + const response = await fetch(`/api/${props.url}/${queryParameters.value}`, {headers: headers}) const json = await response.json() objects.value = json.results totalRows.value = json.count