add more fields

This commit is contained in:
rnsrk 2024-09-20 11:19:24 +02:00
parent 5cabe99d1e
commit 2b1997e8f5
2 changed files with 57 additions and 8 deletions

View file

@ -303,7 +303,7 @@ class AdvancedSearchForm extends FormBase {
'#type' => 'select',
'#attributes' => [
'aria-label' => $this->t("Select Entity"),
'class' => [$block_class_prefix . '-entity'],
'class' => [$block_class_prefix . '--entity'],
],
'#options' => [
'alles' => $this->t('Alles'),
@ -319,6 +319,7 @@ class AdvancedSearchForm extends FormBase {
'#type' => 'select',
'#attributes' => [
'aria-label' => $this->t("Select search field"),
'class' => [$block_class_prefix . '--select-field'],
],
'#options' => $options,
'#default_value' => $term_value[self::SEARCH_FORM_FIELD],