Skip to content

Commit

Permalink
XWIKI-22627: Pinned Pages are lost on space move
Browse files Browse the repository at this point in the history
* Add missing PO method (was added on master for a separate JIRA issue).
  • Loading branch information
mflorea committed Dec 10, 2024
1 parent cf6ca70 commit d964394
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,11 @@ public TreeNodeElement getSpaceNode(String... path)
return getNode(getSpaceNodeId(path));
}

public TreeNodeElement getNode(EntityReference entityReference)
{
return getNode(getNodeId(entityReference));
}

/**
* @param path the path used to locate the document
* @return the corresponding document node
Expand Down

0 comments on commit d964394

Please sign in to comment.