[TASK] Set indexed_search set_id field from type=none to input readOnly 34/58134/2
authorChristian Kuhn <lolli@schwarzbu.ch>
Mon, 3 Sep 2018 01:41:27 +0000 (03:41 +0200)
committerAnja Leichsenring <aleichsenring@ab-softlab.de>
Mon, 3 Sep 2018 09:01:35 +0000 (11:01 +0200)
The indexed_search_config field set_id can be easily switched from
type=none to type=input with readOnly=true. This is semantically
more correct since the field does have a db representation and
is just meant to be not editable.

Resolves: #86093
Releases: master
Change-Id: I0cd5b7ab778a80aa9baaa4cf31089e90f3a86602
Reviewed-on: https://review.typo3.org/58134
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Tested-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
typo3/sysext/indexed_search/Configuration/TCA/index_config.php

index 364073b..0646377 100644 (file)
@@ -245,7 +245,8 @@ return [
         'set_id' => [
             'label' => 'LLL:EXT:indexed_search/Resources/Private/Language/locallang_db.xlf:index_config.set_id',
             'config' => [
-                'type' => 'none'
+                'type' => 'input',
+                'readOnly' => true,
             ]
         ]
     ],