From b0cc0f0d7b8df9b9459e3c56b1fbfd775fd52439 Mon Sep 17 00:00:00 2001 From: Philipp Date: Fri, 16 Dec 2022 22:05:32 +0100 Subject: [PATCH] Add load(true) for ViewDefinitions as well --- src/Database/View.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Database/View.php b/src/Database/View.php index d64e544cc0..ca6078956b 100644 --- a/src/Database/View.php +++ b/src/Database/View.php @@ -49,7 +49,8 @@ class View } } - $definition = DI::viewDefinition()->getAll(); + // just for Create purpose, reload the view definition with addons to explicit get the whole definition + $definition = DI::viewDefinition()->load(true)->getAll(); foreach ($definition as $name => $structure) { if (self::isView($name)) { -- 2.39.5