From 87c12e9be9feff33b81ce66a09f5cab71bae8d2a Mon Sep 17 00:00:00 2001 From: Etienne Delclaux Date: Thu, 5 Sep 2024 12:42:35 +0200 Subject: [PATCH] feat: add link to metadata in synthese list --- backend/geonature/core/gn_synthese/synthese_config.py | 2 +- .../synthese-list/synthese-list.component.html | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/backend/geonature/core/gn_synthese/synthese_config.py b/backend/geonature/core/gn_synthese/synthese_config.py index af5dc42935..e75566891f 100644 --- a/backend/geonature/core/gn_synthese/synthese_config.py +++ b/backend/geonature/core/gn_synthese/synthese_config.py @@ -91,7 +91,7 @@ ] # Mandatory columns for the frontend in Synthese API -MANDATORY_COLUMNS = ["id_synthese", "entity_source_pk_value", "url_source", "cd_nom"] +MANDATORY_COLUMNS = ["id_synthese", "entity_source_pk_value", "url_source", "cd_nom", "id_dataset"] # CONFIG MAP-LIST DEFAULT_LIST_COLUMN = [ diff --git a/frontend/src/app/syntheseModule/synthese-results/synthese-list/synthese-list.component.html b/frontend/src/app/syntheseModule/synthese-results/synthese-list/synthese-list.component.html index 337f56391e..c961ee4a65 100644 --- a/frontend/src/app/syntheseModule/synthese-results/synthese-list/synthese-list.component.html +++ b/frontend/src/app/syntheseModule/synthese-results/synthese-list/synthese-list.component.html @@ -99,6 +99,16 @@ +
+ + + +