Project

General

Profile

Actions

Bug #51067

closed

Adjust usage of ContentObjectRenderer->getTreeList()

Added by Anja Leichsenring over 11 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Could have
Category:
Code Cleanup
Target version:
-
Start date:
2013-08-14
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

In typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer->getQuery() the pid where clause is build using getTreeList() to fetch recursive pids. But for the inclusion of the uppermost pid, string concatenation is used. The method getTreeList() offers the option to include the uppermost pid into the returned result by passing it as a negative value. Method getQuery() should use this opportunity instead of doing its own magic.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Task #51503: NEWS.txt entry for ContentObjectRenderer::getTreeList()ClosedAnja Leichsenring2013-08-29

Actions
Actions

Also available in: Atom PDF