From d4040d60cd644359fa2283c11a7cda40256349fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Chris=20M=C3=BCller?= <2566282+brotkrueml@users.noreply.github.com> Date: Thu, 14 Nov 2024 12:53:32 +0100 Subject: [PATCH 1/2] fix: display example of copyAfterDuplFields --- .../Ctrl/_Properties/_CopyAfterDuplFields.rst.txt | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/Documentation/Ctrl/_Properties/_CopyAfterDuplFields.rst.txt b/Documentation/Ctrl/_Properties/_CopyAfterDuplFields.rst.txt index b20ec681..b655af1e 100644 --- a/Documentation/Ctrl/_Properties/_CopyAfterDuplFields.rst.txt +++ b/Documentation/Ctrl/_Properties/_CopyAfterDuplFields.rst.txt @@ -10,9 +10,11 @@ from the "previous" record transferred when they are *copied* to the position *after* another record from same table. - .. rubric:: Example from `tt_content` table:: + .. rubric:: Example from `tt_content` table: - 'ctrl' => [ - 'copyAfterDuplFields' => 'colPos, sys_language_uid', - ... - ], + .. code-block: php + + 'ctrl' => [ + 'copyAfterDuplFields' => 'colPos, sys_language_uid', + // ... + ], From 41a2f61d3fac623818d3d25adec53d810cca832a Mon Sep 17 00:00:00 2001 From: Lina Wolf <48202465+linawolf@users.noreply.github.com> Date: Mon, 18 Nov 2024 20:48:09 +0100 Subject: [PATCH 2/2] Update Documentation/Ctrl/_Properties/_CopyAfterDuplFields.rst.txt --- .../Ctrl/_Properties/_CopyAfterDuplFields.rst.txt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Documentation/Ctrl/_Properties/_CopyAfterDuplFields.rst.txt b/Documentation/Ctrl/_Properties/_CopyAfterDuplFields.rst.txt index b655af1e..843a1103 100644 --- a/Documentation/Ctrl/_Properties/_CopyAfterDuplFields.rst.txt +++ b/Documentation/Ctrl/_Properties/_CopyAfterDuplFields.rst.txt @@ -12,9 +12,9 @@ .. rubric:: Example from `tt_content` table: - .. code-block: php + .. code-block: php - 'ctrl' => [ - 'copyAfterDuplFields' => 'colPos, sys_language_uid', - // ... - ], + 'ctrl' => [ + 'copyAfterDuplFields' => 'colPos, sys_language_uid', + // ... + ],