Opened 8 years ago

Closed 6 years ago

#1817 closed defect (fixed)

incorrect accepted genera count #2

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

Description

For families that have a subfamilial classification, like Rosaceae, the number of accepted genera is incorrect because the SQL is only looking for taxonomy_family_id. Each different subfamilial entry (subfamily, tribe, subtribe) is a separate record in the taxonomy_family table. The count instead needs to look at family_name and/or current_taxonomy_family_id like family_name% to catch those other IDs.

​https://npgsweb.ars-grin.gov/gringlobal/taxonomyfamily.aspx?id=972

​https://npgsweb.ars-grin.gov/gringlobal/taxonomyfamily.aspx?type=subfamily&id=2373

The genera count problem cascades down to the subfamily, tribe, and subtribe pages. Subfamily Amydaloideae has a count of 0 accepted genera, but then tribe Amygdaleae goes overboard in the other direction, counting each subgenus of Prunus as a separate genus.

​https://npgsweb.ars-grin.gov/gringlobal/taxonomyfamily.aspx?type=tribe&id=2374

Change History (4)

comment:1 by Kay Kittell, 8 years ago

Will be implemented with new format.

comment:2 by Melanie Schori, 6 years ago

Updated dataview for family count works on test. However, subfamily and below are not fixed yet.

comment:3 by Kay Kittell, 6 years ago

Status: new → addressed

Believe this correct in new format.

comment:4 by Melanie Schori, 6 years ago

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