FIX update variables from extension

This commit is contained in:
James Ayers 2018-08-20 19:53:01 +12:00
parent b622547206
commit f3ec2dca2e

View File

@ -821,8 +821,8 @@ class DMSDocument extends DataObject implements DMSDocumentInterface
new GridFieldPaginator(30)
);
$link = $this->owner->Link();
$filenameWithoutID = $this->owner->FilenameWithoutID;
$link = $this->Link();
$filenameWithoutID = $this->FilenameWithoutID;
$versionsGridFieldConfig->getComponentByType('GridFieldDataColumns')
->setDisplayFields(Config::inst()->get('DMSDocument_versions', 'display_fields'))