bug #6075
Updated by Andreas Kohlbecker over 7 years ago
# 1) The `[] Enable auto-suggest for taxon search` is currently in the freetext index settings. This option should preferably be placed below: admin/config/cdm_dataportal/settings/layout/search#edit-cdm-search-area-filter-preset # 2) Harmonize the Drupal value key: please rename the key `cdm-dataportal-taxon-auto-suggest` to something that better conforms to the existing keys of the same context. My suggesting is: `cdm_search_area_filter_auto-suggest`. The existing implementations in settings.php may be a good guidance: ~~~~ php define('CDM_SEARCH_AREA_FILTER_PRESET', 'cdm_search_area_filter_preset'); ... $form['search_settings'][CDM_SEARCH_AREA_FILTER_PRESET] = array( '#type' => 'textarea', '#title' => t('area_filter_preset') . ':', '#default_value' => variable_get(CDM_SEARCH_AREA_FILTER_PRESET, ''), // '05b0dd06-30f8-477d-bf4c-30d9def56320' => Caucasia (Ab + Ar + Gg + Rf(CS)) (Cc) '#description' => t('Area uuids, comma separated, no whitespace. EXPERIMENTAL!!!!'), ); ~~~~