diff --git a/config/monitoring/generic/site.json b/config/monitoring/generic/site.json index ee8c2ad33..e60d5d67a 100644 --- a/config/monitoring/generic/site.json +++ b/config/monitoring/generic/site.json @@ -47,14 +47,8 @@ "required": true }, "id_sites_group": { - "type_widget": "datalist", - "attribut_label": "Groupe de sites", - "hidden": true, - "type_util": "sites_group", - "keyValue": "id_sites_group", - "keyLabel": "sites_group_name", - "api": "__MONITORINGS_PATH/list/__MODULE.MODULE_CODE/sites_group?id_module=__MODULE.ID_MODULE", - "application": "GeoNature" + "type_widget": "text", + "hidden": true }, "id_nomenclature_type_site": { "type_widget": "datalist", diff --git a/contrib/sites_group_aside/site.json b/contrib/sites_group_aside/site.json index 8c74e1c42..42982063b 100644 --- a/contrib/sites_group_aside/site.json +++ b/contrib/sites_group_aside/site.json @@ -1,6 +1,17 @@ { "geometry_type": "Point", "specific": { + "id_sites_group": { + "type_widget": "datalist", + "attribut_label": "Groupe de sites", + "hidden": true, + "type_util": "sites_group", + "keyValue": "id_sites_group", + "keyLabel": "sites_group_name", + "api": "__MONITORINGS_PATH/list/__MODULE.MODULE_CODE/sites_group?id_module=__MODULE.ID_MODULE", + "application": "GeoNature", + "required": false + }, "id_nomenclature_type_site": { "type_widget": "datalist", "attribut_label": "Type site",