From 1e32c16ef8069253c0aab73e48f133c53299cf73 Mon Sep 17 00:00:00 2001 From: vincent porte Date: Tue, 17 Sep 2024 15:40:18 +0200 Subject: [PATCH] fix filter forum on tags --- .../test_subcategoryforum_listview.ambr | 12 ++++++------ .../forum/partials/subcategory_forum_list.html | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/lacommunaute/forum/tests/__snapshots__/test_subcategoryforum_listview.ambr b/lacommunaute/forum/tests/__snapshots__/test_subcategoryforum_listview.ambr index 005e5c5f..aa8c64c0 100644 --- a/lacommunaute/forum/tests/__snapshots__/test_subcategoryforum_listview.ambr +++ b/lacommunaute/forum/tests/__snapshots__/test_subcategoryforum_listview.ambr @@ -4,8 +4,8 @@
-
Afficher les fiches contenant l'étiquette
-
+
Afficher les fiches contenant l'étiquette
+
@@ -66,8 +66,8 @@
-
Afficher les fiches contenant l'étiquette
-
+
Afficher les fiches contenant l'étiquette
+
@@ -97,8 +97,8 @@
-
Afficher les fiches contenant l'étiquette
-
+
Afficher les fiches contenant l'étiquette
+
diff --git a/lacommunaute/templates/forum/partials/subcategory_forum_list.html b/lacommunaute/templates/forum/partials/subcategory_forum_list.html index f29c589c..be695a94 100644 --- a/lacommunaute/templates/forum/partials/subcategory_forum_list.html +++ b/lacommunaute/templates/forum/partials/subcategory_forum_list.html @@ -1,8 +1,8 @@
{% if tags_of_descendants %}
-
Afficher les fiches contenant l'étiquette
-
+
Afficher les fiches contenant l'étiquette
+
{% include "forum/partials/forum_tags.html" with forum=forum tags=tags_of_descendants active_forum_tag_slug=active_forum_tag_slug only %}