bug #6075
harmonize ' Enable auto-suggest' option with existing code
100%
Description
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-simple-search-use-lucene-backend
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_taxa_auto_suggest
.
The existing implementations in settings.php may be a good guidance:
define('SIMPLE_SEARCH_IGNORE_CLASSIFICATION', 'simple_search_ignore_classification');
...
$form['search_settings'][SIMPLE_SEARCH_IGNORE_CLASSIFICATION] = array(
'#type' => 'checkbox',
'#title' => t('Ignore the chosen classification in simple search'),
'#default_value' => variable_get(SIMPLE_SEARCH_IGNORE_CLASSIFICATION, 0),
'#description' => t('The simple search, which can be executed via the search block,
will by default search on the classification selected in the classification browser
selector. Set the tick if you want your portal to search on all classifications.'),
);
Related issues
Associated revisions
ref #6075 Move auto-suggest setting to search settings
fix #6075 harmonize code
History
#1 Updated by Andreas Kohlbecker over 4 years ago
- Subject changed from better place for ' Enable auto-suggest' option to harmonize ' Enable auto-suggest' option with existing code
- Description updated (diff)
#2 Updated by Andreas Kohlbecker over 4 years ago
- Description updated (diff)
Sorry I confused this setting, it is on the taxon search fields.
I am correcting the issue description ...
#3 Updated by Andreas Kohlbecker over 4 years ago
- Related to feature request #5890: Implement auto-suggest for data portal added
#4 Updated by Andreas Kohlbecker about 4 years ago
- Target version changed from Unassigned CDM tickets to Release 4.6
#5 Updated by Andreas Müller almost 4 years ago
- Target version changed from Release 4.6 to Release 4.7
#6 Updated by Andreas Müller over 3 years ago
- Target version changed from Release 4.7 to Release 4.8
#7 Updated by Andreas Müller over 3 years ago
- Target version changed from Release 4.8 to Release 4.9
#8 Updated by Andreas Müller over 3 years ago
- Target version changed from Release 4.9 to Release 4.10
#9 Updated by Andreas Müller over 3 years ago
- Target version changed from Release 4.10 to Release 4.11
#10 Updated by Andreas Müller about 3 years ago
- Target version changed from Release 4.11 to Release 4.12
#11 Updated by Andreas Müller about 3 years ago
- Target version changed from Release 4.12 to Release 4.13
#12 Updated by Andreas Müller almost 3 years ago
- Target version changed from Release 4.13 to Release 4.14
#13 Updated by Patrick Plitzner almost 3 years ago
- Status changed from New to Resolved
- % Done changed from 0 to 50
Applied in changeset cdm-dataportal|023c4a03b112854eef6b2f8de74711e5217c39d6.
#14 Updated by Patrick Plitzner almost 3 years ago
- Assignee changed from Patrick Plitzner to Andreas Kohlbecker
#15 Updated by Andreas Kohlbecker almost 3 years ago
- Status changed from Resolved to Closed
- Assignee changed from Andreas Kohlbecker to Patrick Plitzner
- % Done changed from 50 to 100