Closed qifeng-bai closed 1 year ago
No error message is displayed when we apply a filter/prefix on a numeric field (year)
Select 'Add to map' -> Click on "Facet" -> Scroll down to 'Select Facet' -> Select 'Year' You should see years listed underneath
Type '134' in filter and click "Apply filter" A progress bar pops up, no result comes back
Reason
Biocache supports 'json / plain text' types when it returns data. However, it only supports 'plain text' when it returns error
link to: https://github.com/AtlasOfLivingAustralia/biocache-service/issues/587
Solution 1, Set hearder to accept 'Plain text' when we query facets (Temporary solution) 2, Log and display errors
PR: https://github.com/AtlasOfLivingAustralia/spatial-hub/pull/393
No error message is displayed when we apply a filter/prefix on a numeric field (year)
Select 'Add to map' -> Click on "Facet" -> Scroll down to 'Select Facet' -> Select 'Year' You should see years listed underneath
Type '134' in filter and click "Apply filter" A progress bar pops up, no result comes back
Reason
Biocache supports 'json / plain text' types when it returns data. However, it only supports 'plain text' when it returns error
link to: https://github.com/AtlasOfLivingAustralia/biocache-service/issues/587
Solution 1, Set hearder to accept 'Plain text' when we query facets (Temporary solution) 2, Log and display errors