Skip to content

Commit

Permalink
[TASK] Migrate columns only to array (#277)
Browse files Browse the repository at this point in the history
references TYPO3-Documentation/Changelog-To-Doc#940

Co-authored-by: lina.wolf <[email protected]>
  • Loading branch information
froemken and linawolf authored Jun 18, 2024
1 parent 6f5c001 commit 105705d
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions Classes/Controller/ModuleController.php
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,13 @@ protected function getCreateHaikuLink(string $returnUrl): UriInterface
'season' => 'Spring',
],
],
'columnsOnly' => 'title,season,color',
'columnsOnly' => [
'tx_examples_haiku' => [
'title',
'season',
'color',
],
],
'returnUrl' => $returnUrl,
];
return $this->backendUriBuilder->buildUriFromRoute(
Expand All @@ -373,7 +379,12 @@ protected function getEditDoktypeLink(string $returnUrl): UriInterface
1 => 'edit',
],
],
'columnsOnly' => 'title,doktype',
'columnsOnly' => [
'pages' => [
'title',
'doktype',
],
],
'returnUrl' => $returnUrl,
];
return $this->backendUriBuilder->buildUriFromRoute(
Expand Down

0 comments on commit 105705d

Please sign in to comment.