Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clickable items in "Provenance" #146

Open
Msch0150 opened this issue Sep 6, 2023 · 0 comments
Open

Clickable items in "Provenance" #146

Msch0150 opened this issue Sep 6, 2023 · 0 comments

Comments

@Msch0150
Copy link
Contributor

Msch0150 commented Sep 6, 2023

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant