]> _ Git - fluidbook-toolbox.git/commitdiff
wait #5928 @0.25
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 10 May 2023 17:43:03 +0000 (19:43 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 10 May 2023 17:43:03 +0000 (19:43 +0200)
app/Models/FluidbookPublication.php

index 3a008a250262ca047f49385c4cb1ba51fce19c2f..ab7c047f88f6df66c874392918780846c645f17e 100644 (file)
@@ -30,6 +30,7 @@ use App\Models\Traits\CheckHash;
 use App\Models\Traits\PublicationSettings;
 use App\Models\Traits\SCORMVersionTrait;
 use App\Slack\Slack;
+use Cubist\Backpack\CubistBackpackServiceProvider;
 use Cubist\Backpack\Magic\Fields\FormBigSection;
 use Cubist\Backpack\Magic\Fields\FormSuperSection;
 use Cubist\Backpack\Magic\Fields\Hidden;
@@ -106,7 +107,10 @@ class FluidbookPublication extends ToolboxSettingsModel
                 'type' => Hidden::class,
                 'read_only' => true,
                 'column' => true,
+                'column_type' => 'textwrap',
+                'column_view_namespace' => CubistBackpackServiceProvider::NAMESPACE . '::columns',
                 'column_move_after' => 'id',
+                'column_limit' => 150,
             ],
             'c_pages' => [
                 'label' => __('Pages'),