Opened 9 years ago

Closed 8 years ago

#1583 closed defect (fixed)

Taxon detail page accession count

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

Description

Please change the accession count for the taxon detail page so that it displays the number of active accessions and the number of available accessions.

So for Eremocitrus glauca (​https://npgsweb.ars-grin.gov/gringlobal/taxonomydetail.aspx?id=15354), the display would say "2 active (0 available) in National Plant Germplasm System". Right now, it says there are 2 (which correspond to Accession ID 1434653 and 1705100 in the Accessions table, status_code = active), but the link (​https://npgsweb.ars-grin.gov/gringlobal/view2.aspx?dv=web_taxonomyspecies_view_accessionlist&params=:taxonomyid=15354) displays 22 that are "Not Available" (all have is_available = N in the Inventory table).

Please add a rollover definition of active (living material present in NPGS) and available (can be ordered) or something along those lines.

Where a taxon has subspecific taxa (e.g., Humulus), the counts displayed for the subspecific taxa will also need to be updated.

Attachments (2)

Eremocitrus accession count.jpg​ (173.8 KB ) - added by Melanie Schori 9 years ago.
Eremocitrus not available.jpg​ (326.5 KB ) - added by Melanie Schori 9 years ago.

Download all attachments as: .zip

Change History (7)

by Melanie Schori, 9 years ago

by Melanie Schori, 9 years ago

comment:1 by Melanie Schori, 9 years ago

John would like the display to say "22 (2 active, 0 available) in National Plant Germplasm System". This way, the count would match up what is on the link (​https://npgsweb.ars-grin.gov/gringlobal/view2.aspx?dv=web_taxonomyspecies_view_accessionlist&params=:taxonomyid=15354), although inactive accessions need to be shown as "Inactive" rather than "Not Available".

The active count might need to be reconciled somehow with accessions that aren't web visible.

comment:2 by Melanie Schori, 9 years ago

I think we've settled on having the first number be the is_web_visible total, followed by "(# active, # available). We should not use the total number of accessions in the database.

comment:3 by Melanie Schori, 9 years ago

This has been approved by the AdCom. Please change the accession count so that it has this form: 159 (43 active, 16 available) where "159" = accessions.is_web_visible is 'Y', "43" = accessions.status_code is 'active', and "16" = inventory.is_available is 'Y'.

John would like a separate link for each number that would go to the accessions search result for that particular count. Please add hover definitions for active and available as requested in the original ticket.

comment:4 by Kay Kittell, 9 years ago

Milestone: → Server Release 1.10.3
Status: new → addressed

changed web_taxonomyspecies_summary to make count accurate. Changed taxonomydetail to show count as requested.

comment:5 by Melanie Schori, 8 years ago

Resolution: → fixed
Status: addressed → closed

Separate links for each number not present, but not needed at this time.

Note: See TracTickets for help on using tickets.