Closed srabun closed 7 years ago
I already know that it is possible to use a string and not an org code in this metadata field and it will still validate
FYI in a test batch I changed the batch name to "batch_confederatedtribesofthegrandronde_test" and it validated and verified!
I don't think we need to do this since we figured out the hack already?
I believe we hacked it in, but I don't know if it's the way forward. Adding fake database records seems like a bad idea long-term, as opposed to coming up with a way to separate institution from attribution.
That said, this is good for our needs for now, and probably for a long time. Doing it right might be something to worry about in open oni.
See attribution tag circled in red - currently this data is being pulled from the marc org code in the batch name, for example "batch_oru_apple" - where "oru" is the org code for "University of Oregon Libraries"
Ideally we would like this tag to pull from the metadata field "SourceRepository" which can be found in the reel xml AND in the issue xmls as physicalLocation:
Reel xml:
Issue xml: