From e0251dafb614f6281738d0a501c5ba3ba27ac70f Mon Sep 17 00:00:00 2001 From: Guy Sartorelli Date: Thu, 8 Aug 2024 12:46:41 +1200 Subject: [PATCH] FIX Update CMS fields now that they're being scaffolded --- src/VersionFeed.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/VersionFeed.php b/src/VersionFeed.php index b60aa6a..35be278 100644 --- a/src/VersionFeed.php +++ b/src/VersionFeed.php @@ -28,6 +28,12 @@ class VersionFeed extends SiteTreeExtension 'PublicHistory' => true ); + private static array $scaffold_cms_fields_settings = [ + 'ignoreFields' => [ + 'PublicHistory', + ], + ]; + protected function updateFieldLabels(&$labels) { $labels['PublicHistory'] = _t(__CLASS__ . '.LABEL', 'Make history public');