Issue Bug Closed

#51067Adjust usage of ContentObjectRenderer->getTreeList()

Anja Leichsenring 08/14/13, 11:19 updated 10/02/18, 12:09

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.

Reviews 1