Project

General

Profile

Bug #72107 » filteredPagetreeDuplicateIssue.diff

Franz Kugelmann, 2017-05-29 16:04

View differences:

typo3/sysext/backend/Classes/Tree/Pagetree/DataProvider.php
{
/** @var $nodeCollection \TYPO3\CMS\Backend\Tree\Pagetree\PagetreeNodeCollection */
$nodeCollection = GeneralUtility::makeInstance(\TYPO3\CMS\Backend\Tree\Pagetree\PagetreeNodeCollection::class);
$records = $this->getSubpages(-1, $searchFilter);
$records = $this->getSubpages($node->getId() ? $node->getId() : -1, $searchFilter);
if (!is_array($records) || empty($records)) {
return $nodeCollection;
} elseif (count($records) > 500) {
(4-4/4)