Remove hard-coded dataResourceUid codes in taglib
Closed this issue · 3 comments
nickdos commented
There are 3 instances of ALA-specific data resource IDs in the code here.
Fix: move hard-coded DR IDs to config var.
nickdos commented
Testing this change:
- search for each of the DRs that were moved into config:
dr364 -> https://biocache-test.ala.org.au/occurrences/search?q=data_resource_uid%3Adr364
dr1411 -> https://biocache-test.ala.org.au/occurrences/search?q=data_resource_uid%3Adr1411
dr360 -> https://biocache-test.ala.org.au/occurrences/search?q=data_resource_uid%3Adr360 - Click on a record for each of the searches above and check that:
- Check the
User ID
field contains a link andthe link resolves to a page that corresponds to the observer/collector name. Link will be different for each DR.
ansell commented
The tests for this are broken for me locally and on travis, opening a new issue as this is already "in production"