Revision 868cf790
Added by Andreas Kohlbecker over 2 years ago
modules/cdm_dataportal/settings.php | ||
---|---|---|
236 | 236 |
|
237 | 237 |
define('CDM_SEARCH_TAXA_MODE','cdm_search_taxa_mode'); |
238 | 238 |
define('CDM_SEARCH_TAXA_MODE_DEFAULT', serialize( |
239 |
// to unset a default enntry set the value to 0
|
|
239 |
// to unset a default entry set the value to 0 |
|
240 | 240 |
array( |
241 | 241 |
'doTaxa'=>'doTaxa', |
242 | 242 |
'doSynonyms' => 'doSynonyms', |
243 |
'doTaxaByCommonNames' => 'doTaxaByCommonNames',
|
|
243 |
'doTaxaByCommonNames' => 0,
|
|
244 | 244 |
'doMisappliedNames' => 'doMisappliedNames' |
245 | 245 |
) |
246 | 246 |
) |
... | ... | |
2657 | 2657 |
'#type' => 'checkboxes', |
2658 | 2658 |
'#title' => 'Search mode', |
2659 | 2659 |
'#description' => 'The taxon search can operate in different modes in order to find only taxa, synonyms, |
2660 |
taxa by its common name and even taxa which have been used as misappied names. The settings made here will affect the default |
|
2660 |
taxa by its common name and even taxa which have been used as misapplied names. The settings made here will affect the default
|
|
2661 | 2661 |
for the advance search form and the behaviour of the simple search form which always will behave according to the |
2662 | 2662 |
defaults set here.', |
2663 | 2663 |
'#options' => drupal_map_assoc(array_keys(unserialize(CDM_SEARCH_TAXA_MODE_DEFAULT))), |
Also available in: Unified diff
fix #9903 common name search disabled by default