Opened 5 years ago
Closed 4 years ago
#2442 closed defect (fixed)
update taxonomy About page for CWR
| Reported by: | Melanie Schori | Owned by: | Kay Kittell |
|---|---|---|---|
| Priority: | medium | Milestone: | Server 2.2.2 |
| Component: | Public Website 2 | Version: | N/A |
| Severity: | Keywords: | ||
| Cc: | Database Engine: | N/A | |
| Operating System: | N/A |
Description
The page that says that we’ve evaluated ### CWR for ## crops needs to be updated to calculate numbers from the new CWR tables.
https://npgsweb.ars-grin.gov/gringlobal/taxon/abouttaxonomy?chapter=spec
The taxonomy_cwr_crop table has 386 crops. This should be the source for the count of “### major and minor crops.”
And we’ve evaluated 4295 CWR:
select count (distinct tc.taxonomy_species_ID) as CWRCount
from taxonomy_cwr_map tc
join taxonomy_species ts on ts.taxonomy_species_ID = tc.taxonomy_species_ID
Change History (7)
comment:1 by , 5 years ago
| Milestone: | → Next Release - Server |
|---|---|
| Status: | assigned → addressed |
comment:2 by , 5 years ago
| Milestone: | Next Release - Server → Server 2.2.2 |
|---|
comment:3 by , 5 years ago
Nodulation data set statement needs to be updated to provide a link to the search page as well. CWR counts work correctly.
comment:5 by , 5 years ago
Somehow the crop and CWR counts seem to have been reversed - Currently, 386 CWR have been classified according to their hybridization potential with 4,300 major and minor crops
comment:6 by , 5 years ago
swapped the variables on the aspx page so it wouldn't need a scan. Should be going into 2.2.2.1 build.
comment:7 by , 4 years ago
| Resolution: | → fixed |
|---|---|
| Status: | addressed → closed |

Modified abouttaxonomy.cs to change the sql for CWR counts from using the old cwr table to using the newer taxonomy_cwr_crop and taxonomy_cwr_map tables.