From 192cb2df738b5da12b17f9cc49986c53de09acae Mon Sep 17 00:00:00 2001 From: Molkobain Date: Tue, 6 Apr 2021 19:44:48 +0200 Subject: [PATCH] =?UTF-8?q?N=C2=B03894=20-=20Activity=20panel:=20Add=20con?= =?UTF-8?q?f.=20param.=20to=20prefilter=20only=20on=20current=20log=20or?= =?UTF-8?q?=20all?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/config.class.inc.php | 8 ++++++++ .../layouts/activity-panel/tab-toolbar/layout.html.twig | 4 ++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/core/config.class.inc.php b/core/config.class.inc.php index 10657edbc..3b2902042 100644 --- a/core/config.class.inc.php +++ b/core/config.class.inc.php @@ -1229,6 +1229,14 @@ class Config 'source_of_value' => '', 'show_in_conf_sample' => false, ], + 'activity_panel.prefilter_only_current_log' => [ + 'type' => 'bool', + 'description' => 'Whether the "Logs" filter should only be set to the log from the current tab or to all of them.', + 'default' => true, + 'value' => true, + 'source_of_value' => '', + 'show_in_conf_sample' => false, + ], 'activity_panel.show_author_name_below_entries' => [ 'type' => 'bool', 'description' => 'Whether or not to show the author friendlyname next to the date on the last entry.', diff --git a/templates/base/layouts/activity-panel/tab-toolbar/layout.html.twig b/templates/base/layouts/activity-panel/tab-toolbar/layout.html.twig index 3955b8d75..540eca170 100644 --- a/templates/base/layouts/activity-panel/tab-toolbar/layout.html.twig +++ b/templates/base/layouts/activity-panel/tab-toolbar/layout.html.twig @@ -26,7 +26,7 @@ {% endfor %}