ewg118 / numishare

Numishare is an open source suite of applications for managing digital cultural heritage artifacts, with a particular focus on coins and medals.
Apache License 2.0
40 stars 19 forks source link

Clickable items in "Provenance" #146

Open Msch0150 opened 1 year ago

Msch0150 commented 1 year ago

Is it possible to make information inside the "Provenance" clickable? I can add "myInfo_facet" inside the admin UI. Any item using the localtype="myInfo" will be clickable if it is used for subjects. So far, so good. Now I want to add information about the previous collection. The goal is that I click on the name of the previous collection an that I get a list of all coins which were previouls in the same collection. But to keep it simple, I am going to try to make "Gift of P.K. Anderson" clickable. Example from ANS:

http://numismatics.org/collection/1969.222.1277?lang=en

"Gift of P.K. Anderson" below Administrative History > Provenance is not clickable.

<provenance>
  <chronList>
    <chronItem>
      <acquiredFrom>Gift of P.K. Anderson</acquiredFrom>
    </chronItem>
  </chronList>
</provenance>

So I tried:

<provenance>
  <chronList>
    <chronItem>
      <acquiredFrom localType="myInfo">Gift of P.K. Anderson</acquiredFrom>
    </chronItem>
  </chronList>
</provenance>

and added "myInfo_facet" in the UI and reindexed the collection. But "Gift of P.K. Anderson" is not clickable. Just a limitation?