Skip to content
Snippets Groups Projects
Commit b6bb65fe authored by DESPRES Damien's avatar DESPRES Damien
Browse files

fix url parameters

parent 48a2a40c
No related branches found
No related tags found
No related merge requests found
......@@ -537,7 +537,7 @@ export default {
}
if (typeFilter) {
let typeParams = `&feature_type__slug=${typeFilter}`;
let typeParams = `&feature_type_slug=${typeFilter}`;
params += typeParams;
}
if (statusFilter) {
......@@ -564,7 +564,7 @@ export default {
},
fetchPagedFeatures(params) {
this.onFilterChange(); //* temporary, use paginated event to watch change in filters, to modify geojson on map
// this.onFilterChange(); //* temporary, use paginated event to watch change in filters, to modify geojson on map
//* replace function calls in watcher and on input
let url = `${this.API_BASE_URL}projects/${this.$route.params.slug}/feature-paginated/?output=geojson&limit=${this.pagination.pagesize}&offset=${this.pagination.start}`;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment