Opened 7 years ago

Closed 5 years ago

#1969 closed defect (fixed)

Crop detail citations

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

Description

Please modify the SQL dataview for citations associated with descriptors of a crop.

​https://npgsweb.ars-grin.gov/gringlobal/cropdetail.aspx?type=citation&id=225

For the Millet-Foxtail crop, there are 103 accessions that share the same reference from the literature table (literature_id = 4475), but there is no join to pull in literature_id as a foreign key from the citation table. The dataview may need other modifications as well to prioritize data from the citation record over the literature table. The code that Karen uses on the taxonomydetail.aspx uses the correct format and could probably be used here as well.

Change History (7)

comment:1 by Kurt Endress, 7 years ago

Dataview web_crop_citation_20200218 from Laura loaded on npgsdev for testing.

comment:2 by Kurt Endress, 7 years ago

loaded datatview web_crop_citation_accession_20200221 on npgsdev for testing. "it considers all the accession with this citation whether it has obs data or not" - Laura

comment:3 by Kay Kittell, 6 years ago

Owner: changed from dbmulg to Kay Kittell

comment:4 by Kay Kittell, 6 years ago

Added a join to web_crop_citation_accession for accession_pedigree.

comment:5 by Kurt Endress, 6 years ago

Loaded web_crop_citation_accession_20200608 from Karen on npgsdev for testing.

comment:6 by Kay Kittell, 6 years ago

Milestone: → Server 2.0.5
Status: assigned → addressed

modified Web_citations_crop_acc_2
Web_citations_crop_ipr_2
Web_citations_crop_ped_2

to include literature_id and to remove citation title and author.

comment:7 by Melanie Schori, 5 years ago

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