mirror of
https://github.com/DanielSiepmann/tracking.git
synced 2024-11-22 13:56:09 +01:00
Do not resolve pid relation
TYPO3 would otherwise run into trouble. TYPO3 expects pid to be an integer or string. Resolving pid due to a configured pid column via select or groups, would result in an php array.
This commit is contained in:
parent
5fc0b60131
commit
1a5c10a26d
1 changed files with 3 additions and 3 deletions
|
@ -22,10 +22,10 @@ return [
|
||||||
'pid' => [
|
'pid' => [
|
||||||
'label' => 'LLL:EXT:tracking/Resources/Private/Language/locallang_tca.xlf:table.pageview.pid',
|
'label' => 'LLL:EXT:tracking/Resources/Private/Language/locallang_tca.xlf:table.pageview.pid',
|
||||||
'config' => [
|
'config' => [
|
||||||
'type' => 'select',
|
// TODO: TYPO3 v10 does no longer allow to resolve PID relations, e.g. via select or group
|
||||||
|
// This will break internal PID handling.
|
||||||
|
'type' => 'input',
|
||||||
'readOnly' => true,
|
'readOnly' => true,
|
||||||
'renderType' => 'selectSingle',
|
|
||||||
'foreign_table' => 'pages',
|
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
'crdate' => [
|
'crdate' => [
|
||||||
|
|
Loading…
Reference in a new issue