]> _ Git - cubist_cms-back.git/commitdiff
wait #6741 @0.5
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 21 Feb 2024 16:54:38 +0000 (17:54 +0100)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 21 Feb 2024 16:54:38 +0000 (17:54 +0100)
src/app/Magic/Models/ExternalServer.php

index 6fcbf38cbeb12b82eef00148de0944d3fdfb0e89..31f9a286bf25edbc557bccae4e978d696be9b8fb 100644 (file)
@@ -33,7 +33,7 @@ class ExternalServer extends CubistMagicAbstractModel implements IServer
         $this->addField('username', Text::class, __('Nom d\'utilisateur'), ['when' => ['protocol' => $this->getUsernameProtocols()]]);
         $this->addField('password', Password::class, __('Mot de passe'), ['when' => ['protocol' => $this->getPasswordProtocols()]]);
         $this->addField('base_path', Text::class, __('Chemin de base'), ['default' => '/']);
-        $this->addField('base_url', Text::class, __('URL de base'), ['default' => 'https://', 'column' => true, 'column_function_name' => 'getBaseURL']);
+        $this->addField('base_url', Text::class, __('URL de base'), ['default' => 'https://', 'column' => true, 'column_type' => 'model_function', 'column_function_name' => 'getBaseURL']);
     }
 
     public static function getAllServers()