From 087792357783b1589b838cac9fe6b63d79c18fdc Mon Sep 17 00:00:00 2001 From: Florian Steffens Date: Fri, 8 Sep 2023 11:17:04 +0200 Subject: [PATCH] fix(tutorial): use the new column type text-rich instead of text-long Signed-off-by: Florian Steffens --- lib/Service/TableTemplateService.php | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/lib/Service/TableTemplateService.php b/lib/Service/TableTemplateService.php index 2e54abee0..30109c416 100644 --- a/lib/Service/TableTemplateService.php +++ b/lib/Service/TableTemplateService.php @@ -148,7 +148,7 @@ private function makeWeight(Table $table):void { $params = [ 'title' => $this->l->t('Comments'), 'type' => 'text', - 'subtype' => 'long', + 'subtype' => 'rich', ]; $columns['comment'] = $this->createColumn($table->id, $params); @@ -234,7 +234,7 @@ private function makeCustomers(Table $table):void { $params = [ 'title' => $this->l->t('Description'), 'type' => 'text', - 'subtype' => 'long', + 'subtype' => 'rich', ]; $columns['description'] = $this->createColumn($table->id, $params); @@ -242,7 +242,7 @@ private function makeCustomers(Table $table):void { $params = [ 'title' => $this->l->t('Contact information'), 'type' => 'text', - 'subtype' => 'long', + 'subtype' => 'rich', ]; $columns['contactInformation'] = $this->createColumn($table->id, $params); @@ -259,7 +259,7 @@ private function makeCustomers(Table $table):void { $params = [ 'title' => $this->l->t('Comment'), 'type' => 'text', - 'subtype' => 'long', + 'subtype' => 'rich', ]; $columns['comment'] = $this->createColumn($table->id, $params); @@ -408,7 +408,7 @@ private function makeVacationRequests(Table $table):void { $params = [ 'title' => $this->l->t('Comments'), 'type' => 'text', - 'subtype' => 'long', + 'subtype' => 'rich', ]; $columns['comment'] = $this->createColumn($table->id, $params); @@ -537,7 +537,7 @@ private function makeMembers(Table $table):void { $params = [ 'title' => $this->l->t('Skills'), 'type' => 'text', - 'subtype' => 'long', + 'subtype' => 'rich', ]; $columns['skills'] = $this->createColumn($table->id, $params); @@ -553,7 +553,7 @@ private function makeMembers(Table $table):void { $params = [ 'title' => $this->l->t('Comments'), 'type' => 'text', - 'subtype' => 'long', + 'subtype' => 'rich', ]; $columns['comment'] = $this->createColumn($table->id, $params); @@ -595,7 +595,7 @@ private function makeTodo(Table $table): void { $params = [ 'title' => $this->l->t('Description'), 'type' => 'text', - 'subtype' => 'long', + 'subtype' => 'rich', 'description' => $this->l->t('Title or short description'), 'textMultiline' => true, @@ -605,7 +605,7 @@ private function makeTodo(Table $table): void { $params = [ 'title' => $this->l->t('Target'), 'type' => 'text', - 'subtype' => 'long', + 'subtype' => 'rich', 'description' => $this->l->t('Date, time or whatever'), ]; @@ -623,7 +623,7 @@ private function makeTodo(Table $table): void { $params = [ 'title' => $this->l->t('Comments'), 'type' => 'text', - 'subtype' => 'long', + 'subtype' => 'rich', ]; $columns['comments'] = $this->createColumn($table->id, $params); @@ -707,7 +707,7 @@ private function makeStartupTable(Table $table):void { $params = [ 'title' => $this->l->t('How to do'), 'type' => 'text', - 'subtype' => 'long', + 'subtype' => 'rich', ]; $columns['how'] = $this->createColumn($table->id, $params);