Project

General

Profile

bug #6075

harmonize ' Enable auto-suggest' option with existing code

Added by Andreas Kohlbecker over 2 years ago. Updated 10 months ago.

Status:
Closed
Priority:
New
Category:
cdm-dataportal
Target version:
Start date:
09/13/2016
Due date:
% Done:

100%

Severity:
normal
Found in Version:

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

Related to Edit - feature request #5890: Implement auto-suggest for data portal In Progress 06/15/2016

Associated revisions

Revision 80f34166 (diff)
Added by Patrick Plitzner 10 months ago

ref #6075 Move auto-suggest setting to search settings

Revision 023c4a03 (diff)
Added by Patrick Plitzner 10 months ago

fix #6075 harmonize code

History

#1 Updated by Andreas Kohlbecker over 2 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 2 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 2 years ago

#4 Updated by Andreas Kohlbecker almost 2 years ago

  • Target version changed from Unassigned CDM tickets to Release 4.6

#5 Updated by Andreas Müller almost 2 years ago

  • Target version changed from Release 4.6 to Release 4.7

#6 Updated by Andreas Müller over 1 year ago

  • Target version changed from Release 4.7 to Release 4.8

#7 Updated by Andreas Müller over 1 year ago

  • Target version changed from Release 4.8 to Release 4.9

#8 Updated by Andreas Müller over 1 year ago

  • Target version changed from Release 4.9 to Release 4.10

#9 Updated by Andreas Müller about 1 year ago

  • Target version changed from Release 4.10 to Release 4.11

#10 Updated by Andreas Müller about 1 year ago

  • Target version changed from Release 4.11 to Release 4.12

#11 Updated by Andreas Müller about 1 year ago

  • Target version changed from Release 4.12 to Release 4.13

#12 Updated by Andreas Müller 11 months ago

  • Target version changed from Release 4.13 to Release 4.14

#13 Updated by Patrick Plitzner 10 months ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 50

#14 Updated by Patrick Plitzner 10 months ago

  • Assignee changed from Patrick Plitzner to Andreas Kohlbecker

#15 Updated by Andreas Kohlbecker 10 months ago

  • Status changed from Resolved to Closed
  • Assignee changed from Andreas Kohlbecker to Patrick Plitzner
  • % Done changed from 50 to 100

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 40 MB)