[BUGFIX] Add renderType to redirect target statuscode field 62/55462/3
authorMathias Brodala <mbrodala@pagemachine.de>
Fri, 26 Jan 2018 14:58:39 +0000 (15:58 +0100)
committerJigal van Hemert <jigal.van.hemert@typo3.org>
Sat, 27 Jan 2018 14:38:11 +0000 (15:38 +0100)
Change-Id: I029e0a9e3522adde7c35a82349ecd15c595848d7
Resolves: #83692
Releases: master
Reviewed-on: https://review.typo3.org/55462
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Alexander Opitz <opitz.alexander@googlemail.com>
Tested-by: Alexander Opitz <opitz.alexander@googlemail.com>
Reviewed-by: Reiner Teubner <rteubner@me.com>
Tested-by: Reiner Teubner <rteubner@me.com>
Reviewed-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
Tested-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
typo3/sysext/redirects/Configuration/TCA/sys_redirect.php

index d5a92fc..9bc88cf 100644 (file)
@@ -158,6 +158,7 @@ return [
             'label' => 'LLL:EXT:redirects/Resources/Private/Language/locallang_db.xlf:sys_redirect.target_statuscode',
             'config' => [
                 'type' => 'select',
+                'renderType' => 'selectSingle',
                 'items' => [
                     ['LLL:EXT:redirects/Resources/Private/Language/locallang_db.xlf:sys_redirect.target_statuscode.301', 301],
                     ['LLL:EXT:redirects/Resources/Private/Language/locallang_db.xlf:sys_redirect.target_statuscode.302', 302],
@@ -166,7 +167,6 @@ return [
                 ],
                 'default' => 307,
                 'size' => 1,
-                'maxitems' => 1
             ],
         ],
         'hitcount' => [