Skip to content

Commit

Permalink
Update Classes/Controller/TableOfContentsController.php
Browse files Browse the repository at this point in the history
Co-authored-by: Sebastian Meyer <[email protected]>
  • Loading branch information
beatrycze-volk and sebastian-meyer authored Jul 20, 2023
1 parent e41e915 commit 299d795
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions Classes/Controller/TableOfContentsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -255,8 +255,13 @@ private function getTranslatedType($type) {

/**
* Check if element has type 'multivolume_work' or 'multipart_manuscript'.
* Those elements have for each child one parent anchor file instead one
* parent file for all children elements.
* For Kitodo.Production prior to version 3.x, hierarchical child documents
* always come with their own METS file for their parent document, even
* if multiple documents in fact have the same parent. To make sure that all
* of them point to the same parent document in Kitodo.Presentation, we
* need some workaround here.
*
* @todo Should be removed when Kitodo.Production 2.x is no longer supported.
*
* @access private
*
Expand Down

0 comments on commit 299d795

Please sign in to comment.