Release of v5.0.3-beta3

Fix the missing edit button on fields in the related views. Fix the dashboard display. Place the search option back in the use field of the related views. Fix the namespace issue that broken the linker.
This commit is contained in:
2024-09-20 03:01:45 +02:00
parent 8ebeb56d3e
commit 9256633b37
39 changed files with 302 additions and 143 deletions

View File

@@ -492,7 +492,7 @@ class Power implements PowerInterface
$this->active[$guid]->file_name = array_pop($src_array);
// namespace array
$namespace_array = [...$path_array, ...$src_array];
$namespace_array = array_merge($path_array, $src_array);
}
else
{
@@ -534,12 +534,12 @@ class Power implements PowerInterface
// set the actual class namespace
$this->active[$guid]->_namespace = implode('\\', $namespace_array);
// set global namespaces for autoloader
$this->namespace[implode('.', $path_array)] = $path_array;
// get the parent folder (the first value in array)
$prefix_folder = implode('.', $path_array);
// set global namespaces for autoloader
$this->namespace[$prefix_folder] = $path_array;
// make sub folders if still found
$sub_folder = '';
if (ArrayHelper::check($src_array))