Update AdvancedSearchBlock.php
Change this to have Context Filter option appear in Advanced Search Block Config
This commit is contained in:
parent
3fdb8408ab
commit
f8effedcd6
1 changed files with 1 additions and 1 deletions
|
|
@ -330,7 +330,7 @@ class AdvancedSearchBlock extends BlockBase implements ContainerFactoryPluginInt
|
|||
}
|
||||
}
|
||||
}
|
||||
if (count($options) > 1) {
|
||||
if (count($options) > 0) {
|
||||
$form[self::SETTING_CONTEXTUAL_FILTER] = [
|
||||
'#type' => 'select',
|
||||
'#title' => $this->t('Context Filter'),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue