From ba7c1e906c906ace3dfd5dcb601463fff9cd7297 Mon Sep 17 00:00:00 2001 From: Alex Skrypnyk Date: Tue, 1 Aug 2023 23:28:36 +1000 Subject: [PATCH] Fixed side navigation visibility on the search page. --- .../themes/contrib/civictheme/theme-settings.provision.inc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docroot/themes/contrib/civictheme/theme-settings.provision.inc b/docroot/themes/contrib/civictheme/theme-settings.provision.inc index 4fefa2dd5..48e01e577 100644 --- a/docroot/themes/contrib/civictheme/theme-settings.provision.inc +++ b/docroot/themes/contrib/civictheme/theme-settings.provision.inc @@ -653,6 +653,13 @@ function _civictheme_provision__blocks__menu_blocks() { civictheme_provision_place_block('Side Navigation', 'sidebar', NULL, [ 'plugin' => 'menu_block:civictheme-primary-navigation', 'depth' => 3, + 'visibility' => [ + 'request_path' => [ + 'id' => 'request_path', + 'negate' => TRUE, + 'pages' => '/search', + ], + ], ]); civictheme_provision_place_block('Footer menu 1', 'footer_middle_1', NULL, [ 'plugin' => 'menu_block:civictheme-footer',