From ef760adb39ef3f839b9db70104cdcafee6d4131a Mon Sep 17 00:00:00 2001 From: Valentin Date: Mon, 25 Nov 2024 17:53:05 +0100 Subject: [PATCH] =?UTF-8?q?liste=20=C3=A9tape=20ordre=20chronologiques?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/sync/views.view.etapes.yml | 17 ++++++++++++++++- ...block--views-block--etapes-block-1.html.twig | 2 +- 2 files changed, 17 insertions(+), 2 deletions(-) diff --git a/config/sync/views.view.etapes.yml b/config/sync/views.view.etapes.yml index 352b3da..ad50f0b 100644 --- a/config/sync/views.view.etapes.yml +++ b/config/sync/views.view.etapes.yml @@ -12,6 +12,7 @@ dependencies: module: - color_pickr - date_range_formatter + - datetime - file - geofield - image @@ -109,7 +110,21 @@ display: type: tag options: { } empty: { } - sorts: { } + sorts: + field_dates_end_value: + id: field_dates_end_value + table: node__field_dates + field: field_dates_end_value + relationship: none + group_type: group + admin_label: '' + plugin_id: datetime + order: ASC + expose: + label: '' + field_identifier: '' + exposed: false + granularity: day arguments: field_thematiques_target_id: id: field_thematiques_target_id diff --git a/web/themes/custom/caravane/templates/block--views-block--etapes-block-1.html.twig b/web/themes/custom/caravane/templates/block--views-block--etapes-block-1.html.twig index 9eecdcc..96dda99 100644 --- a/web/themes/custom/caravane/templates/block--views-block--etapes-block-1.html.twig +++ b/web/themes/custom/caravane/templates/block--views-block--etapes-block-1.html.twig @@ -41,4 +41,4 @@

Liste des arrĂȘts

-
\ No newline at end of file +