Issue 12617

occurrence search: country filter entered manually breaks search

Reporter: kbraak
Assignee: fmendez
Type: Bug
Summary: occurrence search: country filter entered manually breaks search
Priority: Major
Resolution: Fixed
Status: Closed
Created: 2013-01-22 15:48:49.723
Updated: 2013-08-29 14:44:26.336
Resolved: 2013-01-22 16:09:19.377
Description: Problem:

When entering a country filter, the user has 2 options:

Enter one manually by typing it, and pressing + button
Enter one by selecting it from the dropdown/autocomplete

When entering manually, the resulting search breaks.

To replicate:

-Enter a country name manually, and click + button to add it
-Click APPLY ]]>

Created: 2013-01-22 16:09:19.407
Updated: 2013-01-22 16:09:19.407

Comment: Why not restrict entry to controlled fields to just the autocomplete? Could we just disable any manual entry for country, datasets or other looked up values?
Created: 2013-01-22 23:15:42.254
Updated: 2013-01-22 23:15:42.254

Comment: Usually the problem with autocompletes is people with a slow internet connection, the autocomplete could be a little slow; that's the reason of why sites like expedia use both an autocomplete and additional pages to validate the input of airports and cities; similar in how the scientific name search is working now in the occ search page.
Created: 2013-01-23 08:51:16.165
Updated: 2013-01-23 08:51:16.165