diff --git a/backend/geonature/utils/config_schema.py b/backend/geonature/utils/config_schema.py index 47008f5897..fc3069fe88 100644 --- a/backend/geonature/utils/config_schema.py +++ b/backend/geonature/utils/config_schema.py @@ -381,7 +381,7 @@ class Synthese(Schema): # Formats d'export disponibles ["csv", "geojson", "shapefile", "gpkg"] EXPORT_FORMAT = fields.List(fields.String(), load_default=["csv", "geojson", "shapefile"]) # Nombre max d'observation dans les exports - NB_MAX_OBS_EXPORT = fields.Integer(load_default=50000) + NB_MAX_OBS_EXPORT = fields.Integer(load_default=0) # -------------------------------------------------------------------- # SYNTHESE - OBSERVATION DETAILS @@ -398,7 +398,7 @@ class Synthese(Schema): EXCLUDED_COLUMNS = fields.List(fields.String(), load_default=[]) # Nombre max d'observation à afficher sur la carte - NB_MAX_OBS_MAP = fields.Integer(load_default=50000) + NB_MAX_OBS_MAP = fields.Integer(load_default=1) # Clusteriser les layers sur la carte ENABLE_LEAFLET_CLUSTER = fields.Boolean(load_default=True) # Nombre des "dernières observations" affichées à l'arrivée sur la synthese diff --git a/frontend/src/app/syntheseModule/synthese-results/synthese-list/modal-download/modal-download.component.html b/frontend/src/app/syntheseModule/synthese-results/synthese-list/modal-download/modal-download.component.html index ea78a130c8..4c8b729ebb 100644 --- a/frontend/src/app/syntheseModule/synthese-results/synthese-list/modal-download/modal-download.component.html +++ b/frontend/src/app/syntheseModule/synthese-results/synthese-list/modal-download/modal-download.component.html @@ -7,7 +7,7 @@ Téléchargement
Trop d'observations à exporter.
+Un export depuis le modèle de synthèse ne peux dépasser {{ syntheseConfig.NB_MAX_OBS_EXPORT }} observations. + Merci de passer par le module d'export. +