Open alexhuang091 opened 3 years ago
In Queryservice, we have
https://github.com/AtlasOfLivingAustralia/alerts/blob/2386bd89a5f177f13f43ffc7c1fd21b40c8eed30/grails-app/services/au/org/ala/alerts/QueryService.groovy#L219
It creates links like occurrences/taxon/urn:lsid:biodiversity.org.au:afd.taxon:17c9fd64-3c07-4df5-a33d-eda1e065e99f?state:Victoriawhich is incorrect.
state:Victoria
The correct form should be like https://github.com/AtlasOfLivingAustralia/alerts/blob/2386bd89a5f177f13f43ffc7c1fd21b40c8eed30/grails-app/services/au/org/ala/alerts/QueryService.groovy#L237
which has ?q=state:Victoria
?q=state:Victoria
Check all existing queries in the database to find existing incorrect entries and fix those as well.
In Queryservice, we have
https://github.com/AtlasOfLivingAustralia/alerts/blob/2386bd89a5f177f13f43ffc7c1fd21b40c8eed30/grails-app/services/au/org/ala/alerts/QueryService.groovy#L219
It creates links like occurrences/taxon/urn:lsid:biodiversity.org.au:afd.taxon:17c9fd64-3c07-4df5-a33d-eda1e065e99f?
state:Victoria
which is incorrect.The correct form should be like https://github.com/AtlasOfLivingAustralia/alerts/blob/2386bd89a5f177f13f43ffc7c1fd21b40c8eed30/grails-app/services/au/org/ala/alerts/QueryService.groovy#L237
which has
?q=state:Victoria