Opened 5 years ago

Closed 5 years ago

#2376 closed defect (fixed)

hybrid symbol species search

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

Description

The species search needs to handle hybrid genera differently. A search for "triticosec" won't return any species but will return the genus ×Triticosecale, which has species. Right now, species results are only returned if "x " precedes the genus name for a species search. When a genus is a hybrid, the species search needs to handle that in the same way the genus search does, by not requiring an x or the hybrid symbol as part of the search string.

Change History (2)

comment:1 by Kay Kittell, 5 years ago

Milestone: → Server 2.2.1
Status: assigned → addressed

Modified search sql to replace a leading X with a space and a parameter for just that portion of the search to add leading wildcard. We don't want a leading wildcard for all species searches, but needed one to find X Triticosecale species when triticosec is typed into the search.

comment:2 by Melanie Schori, 5 years ago

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