Mirror the indent loop calculation to the rel_depth in the Navigation.
This commit is contained in:
parent
55d4c12ce1
commit
7081202353
2 changed files with 2 additions and 1 deletions
|
|
@ -439,7 +439,7 @@ sub view {
|
|||
# build nav variables
|
||||
$pageData->{"page.rank"} = $asset->getRank;
|
||||
$pageData->{"page.absDepth"} = $asset->getLineageLength;
|
||||
$pageData->{"page.relDepth"} = $asset->getLineageLength - $start->getLineageLength;
|
||||
$pageData->{"page.relDepth"} = $asset->getLineageLength - $absoluteDepthOfFirstPage;
|
||||
$pageData->{"page.isSystem"} = $asset->get("isSystem");
|
||||
$pageData->{"page.isHidden"} = $asset->get("isHidden");
|
||||
$pageData->{"page.isViewable"} = $asset->canView;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue