[BUGFIX] Recordlist shows content of wrong folder 52/52052/2
authorStefan Fruhen <phteven@gmx.de>
Tue, 7 Mar 2017 13:21:03 +0000 (14:21 +0100)
committerTymoteusz Motylewski <t.motylewski@gmail.com>
Wed, 15 Mar 2017 10:59:47 +0000 (11:59 +0100)
Subfolder requires identifier when parent folder is expanded.

Resolves: #80166
Releases: master, 7.6
Change-Id: I5226f425951f9124dcaa3e9780b52354e266382d
Reviewed-on: https://review.typo3.org/52052
Reviewed-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
Tested-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
typo3/sysext/recordlist/Classes/Tree/View/DummyLinkParameterProvider.php

index 3908ed8..9f741a7 100644 (file)
@@ -50,6 +50,7 @@ class DummyLinkParameterProvider implements LinkParameterProviderInterface
      */
     public function getUrlParameters(array $values)
     {
+        $this->parameters['expandFolder'] = $values['identifier'];
         return $this->parameters;
     }