Opened 6 years ago

Closed 5 years ago

#2281 closed enhancement (fixed)

linked species of synonym genera

Reported by: Melanie Schori Owned by: Kay Kittell
Priority: medium Milestone:
Component: Public Website 2 Version: N/A
Severity: Keywords:
Cc: Database Engine: N/A
Operating System: N/A

Description

Please provide a link for a list of species records for genera that are synonyms if they have associated species.

The previous genus page had a link even if there were no species:

Compare ​https://npgsweb.ars-grin.gov/gringlobal/taxonomygenus?id=13990 with ​https://npgsweb.ars-grin.gov/gringlobal/taxon/taxonomygenus?id=13990

but it would be nice if the link didn't appear if there were no associated species.

Change History (4)

comment:1 by Kay Kittell, 6 years ago

Status: assigned → addressed

Added code to genus page to check if there are associated species, and if not, show text instead of having a link that goes to a specieslist without anything in it. Also changed species list to better handle having no species.

Pages changed: taxonomygenus, taxonomyspecieslist.

comment:2 by Melanie Schori, 5 years ago

Links work, but Table results display for species of genus that isn't accepted doesn't show the Synonym of column.

​https://npgsdev.ars-grin.gov/gringlobal/taxon/taxonomyspecieslist?id=16597&type=genus

comment:3 by Kay Kittell, 5 years ago

Corrected and put on dev

comment:4 by Melanie Schori, 5 years ago

Resolution: → fixed
Status: addressed → closed
Note: See TracTickets for help on using tickets.