datadavev / DwC_views

Implements viewers for Darwin Core record repositories
1 stars 0 forks source link

ID needs to be quoted when included in a filter #58

Closed datadavev closed 13 years ago

datadavev commented 13 years ago

Some IDs incorrectly include white space such as a carriage return. This is an error in the ID generation, but the UI should be resilient to such errors.

Including quotes around the ID value when adding the to filter should correct the problem.

This problem is noticeable when in the Records view and clicking on a record such as "KU .KUI.30270." to show the Record or similarly when in the Map view and clicking on a marker that uses an ID that contains whitespace.