GoMexSI / gomexsi-web

Explore Species Interactions in Gulf of Mexico with the GoMexSI webapp
http://gomexsi.tamucc.edu
3 stars 2 forks source link

Unexpected drop down results #69

Closed MikeCasavecchia closed 11 years ago

MikeCasavecchia commented 11 years ago

Type "Adm" into search bar.

Expected result: Admontia blanda listed as an option Actual result: nothing.

As you begin to type in "Admontia blanda" you have to get all the way to Admonti before "Admontia blanda" shows up as an option. This was not happening before.

@jhpoelen This may be related to the addition of the common name feature, I am not sure

MikeCasavecchia commented 11 years ago

This is causing the build to fail, I am going to change 'Adm' to 'Admonti' to allow the build to pass for now

jhpoelen commented 11 years ago

@MikeCasavecchia thanks for sharing, I'll have a look at this, add unit tests and attempt to fix it.

jhpoelen commented 11 years ago

I checked and found that the search results contain other more relevant matches. Since the amount of matches is limited, the Admontia blanda match didn't make it to the final list.