Merge pull request #2651 from unclecheese/pulls/4/beta-blocker
BUGFIX: Ensure SiteTree and ancestors always available in the CMS
This commit is contained in:
commit
6fb89ae384
|
@ -8,6 +8,10 @@ SilverStripe\GraphQL\Manager:
|
|||
admin:
|
||||
scaffolding:
|
||||
types:
|
||||
# Expose this so that Page can appear anywhere in the hierarchy, rather than assuming
|
||||
# it is a direct descendant of SiteTree.
|
||||
SilverStripe\CMS\Model\SiteTree:
|
||||
fields: [ID]
|
||||
Page:
|
||||
fields: [ID, LastEdited, AbsoluteLink]
|
||||
operations:
|
||||
|
|
Loading…
Reference in New Issue