ucldc / public_interface

Calisphere public interface source code (UCLDC Project) master branch should match live site
https://calisphere.org/
2 stars 5 forks source link

secondary seach is by calisphere-id and needs escaped quotes for opensearch #376

Closed amywieliczka closed 5 months ago

amywieliczka commented 5 months ago

For item pages, we first search by the record's ID and then secondarily search by the record's harvest ID.

Harvest ID is called calisphere-id in Rikolti. The calisphere-id doesn't have a <collection id>-- prefix in Rikolti (so we can remove the *) The calisphere-id sometimes contains an ark: and due to the : character, needs to be wrapped in escaped quotes (so we need to add the \" on either side of the calisphere-id.)