mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
DOCS HistoryViewerField updates
* Add missing rollback operation in scaffolding example * Update block_id references to id to allow query to read query to run successfully in conjunction with HistoryViewerField
This commit is contained in:
parent
0f00154563
commit
30775aa428
@ -1014,6 +1014,7 @@ SilverStripe\GraphQL\Manager:
|
||||
fields: [ID, LastEdited]
|
||||
operations:
|
||||
readOne: true
|
||||
rollback: true
|
||||
SilverStripe\Security\Member:
|
||||
fields: [ID, FirstName, Surname]
|
||||
operations:
|
||||
@ -1087,7 +1088,7 @@ const config = {
|
||||
variables: {
|
||||
limit,
|
||||
offset: ((page || 1) - 1) * limit,
|
||||
block_id: recordId,
|
||||
id: recordId,
|
||||
}
|
||||
};
|
||||
},
|
||||
@ -1125,7 +1126,7 @@ const config = {
|
||||
refetch({
|
||||
offset: ((page || 1) - 1) * limit,
|
||||
limit,
|
||||
block_id: recordId,
|
||||
id: recordId,
|
||||
});
|
||||
}
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user