diff --git a/code/panels/DashboardModelAdminPanel.php b/code/panels/DashboardModelAdminPanel.php index 64ba968..4502f6a 100644 --- a/code/panels/DashboardModelAdminPanel.php +++ b/code/panels/DashboardModelAdminPanel.php @@ -216,6 +216,10 @@ public function PluralModelName() { */ public function ModelAdminItems() { if($this->ModelAdminModel) { + $SNG= Injector::inst()->get($this->ModelAdminModel); + if($SNG->hasExtension("Versioned")) { + Versioned::reading_stage("Stage"); + } $records = DataList::create($this->ModelAdminModel) ->limit($this->Count) ->sort("LastEdited DESC");