-
Notifications
You must be signed in to change notification settings - Fork 64
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
Fix order of logical and physical divisions #5694
Conversation
…re assigned multiple times
@BartChris would you mind reviewing this pull request since you already analysed the linked issue and thus are familiar with it? |
Yes, i will check it! |
@oliver-stoehr the bugged behaviour seems to be fixed, good work. I have some questions:
So in this example both chapters get order number 3. I am not sure if that could lead to problems in the long run? Is the order I would have thought after reading that comment that two different structures which both contain the same linked page would have different order numbers. |
Thanks a lot for the detailed explanation. Assigning a page to multiple divisions is indeed possible. I can even combine it with the method described in another issue: moving an already created link element to sub levels and thereby circumventing the described restrictions. <mets:structMap TYPE="LOGICAL">
<mets:div ID="uuid-dc07c70e-d4f2-4f8b-ad37-ff813f527644" DMDID="uuid-3be7123f-0d5b-3783-856d-fc4f03637ce6" ADMID="uuid-7170eb92-a27b-32ef-9af4-dfd846acbe56" TYPE="monograph" ORDER="4">
<mets:div ID="uuid-76355e4b-780e-4734-9107-19e78cf14435" TYPE="chapter" ORDER="1"/>
<mets:div ID="uuid-c04faf6e-daaa-4dbc-8a52-0fb7630ce317" TYPE="chapter" ORDER="3">
<mets:div ID="uuid-0d05fd8e-664b-4fc6-9c08-d9a3c6eaafde" TYPE="section" ORDER="2"/>
</mets:div>
<mets:div ID="uuid-96bf5737-dfef-45de-87dd-9fba2ac419e0" TYPE="chapter" ORDER="3">
<mets:div ID="uuid-4a2ae84e-0623-4b40-b302-1ee3b2ce238e" TYPE="section" ORDER="2"/>
</mets:div>
</mets:div>
</mets:structMap> Although this looks a little bit strange in the gallery, the sorting behavior seems correct. I still have to inspect whether moving a linked element around after the link has been created leads to very subtle bugs, but this is may be a different topic. I approve the Pull request, |
Fixes two bugs:
Resolves #5464.