Opened 7 years ago

Closed 6 years ago

#2009 closed enhancement (fixed)

Increase the ability of the PW report for germination methods to also search for Taxonomy linked to viability rule

Reported by: Lisa Burke Owned by: Kurt Admin
Priority: medium Milestone:
Component: Public Website App. Version: N/A
Severity: Keywords: Public Website Germination Method Report
Cc: devteam@… Database Engine: N/A
Operating System: N/A

Description

The current query looks for:

  1. By wildcard match on the rule name, displaying species name linked to the rule through the inventory_viability_rule_map
  2. By wildcard match on species name linked to the rule through the inventory_viability_rule_map
  3. By matching orders linked to inventory viability records to their rule, displaying item external taxonomy

If that design is deemed inadequate a search could conceivably be added that links from taxonomy to inventory viability to rule. That will likely return a lot more hits, madia gives 16 distinct species rule combinations:

select DISTINCT
t.name as Species,r.inventory_viability_rule_id as "RuleID",r.name as Name,requirements as Requirements,
temperature_range as "Temperature Range",category_code as Category,count_regime_days as "Regime Days",
moisture as Moisture,prechill as Prechill,lighting as Lighting
from inventory_viability_rule r
join inventory_viability v on v.inventory_viability_rule_id=r.inventory_viability_rule_id
JOIN inventory i ON i.inventory_id=v.inventory_id
JOIN accession a ON a.accession_id = i.accession_id
join taxonomy_species t on t.taxonomy_species_id=a.taxonomy_species_id
where t.name like '%' + 'madia' + '%'

Change History (3)

comment:1 by Kurt Endress, 7 years ago

Status: assigned → addressed

Loaded web_qry_display_method_20200512 on npgsdev for testing

It adds an exact match on genus name linked to rules through inventory. A wildcard match on species was giving too many results.

comment:2 by Kurt Endress, 6 years ago

Adjusted the dataview description to read "by entering one or more:" on npgsdev for testing.

comment:3 by Lisa Burke, 6 years ago

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