[BUGFIX] Re-add `id` parameter to "Setup" and "Constants" edit link 21/53521/2
authorAndreas Fernandez <a.fernandez@scripting-base.de>
Sat, 15 Jul 2017 15:57:07 +0000 (17:57 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Sat, 15 Jul 2017 16:31:22 +0000 (18:31 +0200)
The patch adds the removed `id` parameter again to get back the whole
autocomplete feature.

Resolves: #81883
Related: #81171
Releases: master
Change-Id: I3a16496eeceb8d7cff5360f11d760564e4707eac
Reviewed-on: https://review.typo3.org/53521
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Mathias Schreiber <mathias.schreiber@typo3.com>
Tested-by: Mathias Schreiber <mathias.schreiber@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/tstemplate/Classes/Controller/TypoScriptTemplateInformationModuleFunctionController.php

index 1133b6b..3519c66 100644 (file)
@@ -62,6 +62,7 @@ class TypoScriptTemplateInformationModuleFunctionController extends AbstractFunc
     public function tableRowData($label, $data, $field, $id)
     {
         $urlParameters = [
+            'id' => $this->pObj->id,
             'edit' => [
                 'sys_template' => [
                     $id => 'edit'