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

Preserve Unitdate Order #1499

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from
Draft

Preserve Unitdate Order #1499

wants to merge 4 commits into from

Conversation

gwiedeman
Copy link
Contributor

This simplifies how Arclight handles <unitdate>s for both collections and components per the approach in #1028 comments.

Arclight now stores a list of unitdates in unitdates_ssm and a corresponding list of type labels in unitdates_labels_ssm. Labels only display for @type="bulk". The order of <unitdate> elements in the EAD is preserved.

This does simply how Arclight handles unitdates and more just displays what's in the EAD where before it had some more logic. I think this is generally a good approach, and covers the all the use cases I can think of, but I'm not totally sure it replicates existing functionality 100%. There is some logic here in particular that I wasn't sure what it was doing.

@gwiedeman gwiedeman marked this pull request as ready for review December 15, 2023 20:32
@gwiedeman gwiedeman marked this pull request as draft December 15, 2023 20:48
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

Successfully merging this pull request may close these issues.

1 participant