Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Species with names beginning Ae not found #142

Closed
JimBacon opened this issue Jan 20, 2017 · 1 comment
Closed

Species with names beginning Ae not found #142

JimBacon opened this issue Jan 20, 2017 · 1 comment
Labels

Comments

@JimBacon
Copy link
Member

JimBacon commented Jan 20, 2017

When searching for a species with name beginning 'Ae' the request is being mangled and the 'Ae' is being rewritten as 'E'. Thus, if I type 'Aepo' the list of suggestions are actually for letters 'epo'. This then fails to match the desired entry in the database.

In cache_taxon_searchterms there are 771 entries meeting the criteria

original like 'Ae%' 
and searchterm not like 'e%'
and taxon_list_id = 15
and preferred = true

which will not be found. (On the other hand, there are 9 which do have a searchterm beginning with 'e' which could be found.)

Refer to http://forums.nbn.org.uk/viewtopic.php?pid=26093

@JimBacon JimBacon added the bug label Jan 20, 2017
@kitenetter
Copy link
Collaborator

Hi @JimBacon - this one was first reported as #116 so am closing this #142

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants