mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
BUGFIX: Ensure SiteTree is always available in the CMS, along with ancestors
This commit is contained in:
parent
a6a3b3829c
commit
67bfdf0ff1
@ -8,6 +8,10 @@ SilverStripe\GraphQL\Manager:
|
|||||||
admin:
|
admin:
|
||||||
scaffolding:
|
scaffolding:
|
||||||
types:
|
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:
|
Page:
|
||||||
fields: [ID, LastEdited, AbsoluteLink]
|
fields: [ID, LastEdited, AbsoluteLink]
|
||||||
operations:
|
operations:
|
||||||
|
Loading…
Reference in New Issue
Block a user