Skip to content

Commit

Permalink
Fixed side navigation visibility on the search page.
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexSkrypnyk committed Aug 1, 2023
1 parent 35afef4 commit ba7c1e9
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit ba7c1e9

Please sign in to comment.