Issue 10110

Include higher taxa only in the search results classification

10110
Reporter: fmendez
Assignee: fmendez
Type: Bug
Summary: Include higher taxa only in the search results classification
Priority: Major
Resolution: Fixed
Status: Closed
Created: 2011-11-02 10:11:04.87
Updated: 2013-08-29 14:44:19.194
Resolved: 2011-11-09 14:44:02.882
        
Description: - In the results lists, it shows the classification, including the concept itself when it should only show higher taxa.  So Puma concolor should show:
  Puma concolor (Linnaeus 1771)  -  Mountain lion
  according to The GBIF Taxonomic Backbone
  Animalia - Chordata - Mammalia Linnaeus, 1758 - Carnivora Bowdich, 1821 - Felidae Fischer de Waldheim, 1817 - Puma Jardine, 1834

  and not:

  Puma concolor (Linnaeus 1771)  -  Mountain lion
  according to The GBIF Taxonomic Backbone
  Animalia - Chordata - Mammalia Linnaeus, 1758 - Carnivora Bowdich, 1821 - Felidae Fischer de Waldheim, 1817 - Puma Jardine, 1834 - Puma concolor (Linnaeus 1771)
]]>
    


Author: mdoering@gbif.org
Comment: Fede, just use NameUsage.getHigherClassificationMap() for this. It does exactly that and is already used in various place including the taxonomic browser - DRY
Created: 2011-11-09 12:24:55.139
Updated: 2011-11-09 12:24:55.139


Author: fmendez@gbif.org
Comment: yes am using that, but....we should avoid (according to Tim): list the current rank, this means only higher ranks should be displayed
Created: 2011-11-09 12:34:40.922
Updated: 2011-11-09 12:34:40.922