[BUGFIX] Removing single category item not possible 26/27026/2
authorFrancois Suter <francois@typo3.org>
Thu, 23 Jan 2014 08:01:31 +0000 (09:01 +0100)
committerFrancois Suter <francois@typo3.org>
Thu, 23 Jan 2014 15:24:28 +0000 (16:24 +0100)
The "items" selector in a system categories misses a "size"
property. It is thus considered by the forms JS to be a single
select field and all items are removed at once rather
than the selected one.

Resolves: #53665
Releases: 6.2, 6.1
Change-Id: Ice539a42b60a14fd604a9b43ecb4dd48b85d3ae3
Reviewed-on: https://review.typo3.org/27016
Reviewed-by: Francois Suter
Tested-by: Francois Suter
Reviewed-on: https://review.typo3.org/27026

typo3/sysext/core/Configuration/TCA/sys_category.php

index 6e7ef89..338ebf1 100644 (file)
@@ -158,6 +158,7 @@ return array(
                                'internal_type' => 'db',
                                'allowed' => '*',
                                'MM' => 'sys_category_record_mm',
+                               'size' => 10,
                                'show_thumbs' => FALSE
                        )
                )