Skip to content
This repository has been archived by the owner on May 4, 2021. It is now read-only.

Commit

Permalink
[BUGFIX] Leave overridePageIdList untouched to avoid problems w short…
Browse files Browse the repository at this point in the history
…cuts

Change-Id: Idfabc50aaed0fc59cd110a46c60237200844e5f7
Resolves: #83600
Releases: master, 8-0
Reviewed-on: https://review.typo3.org/55525
Reviewed-by: Eric Chavaillaz <eric@hemmer.ch>
Tested-by: Eric Chavaillaz <eric@hemmer.ch>
Reviewed-by: Jo Hasenau <info@cybercraft.de>
Tested-by: Jo Hasenau <info@cybercraft.de>
  • Loading branch information
Bunnyfield committed Feb 2, 2018
1 parent 5cd4a69 commit b512a6e
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions Classes/Hooks/DrawItem.php
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,6 @@ protected function setMultipleColPosValues($parserRows, &$colPosValues, $layout)
protected function setSingleColPosItems(PageLayoutView $parentObject, &$colPosValues, &$row)
{
$specificIds = $this->helper->getSpecificIds($row);
$parentObject->setOverridePageIdList([$specificIds['pid']]);

$expressionBuilder = GeneralUtility::makeInstance(ConnectionPool::class)
->getQueryBuilderForTable('tt_content')
Expand All @@ -300,8 +299,6 @@ protected function setSingleColPosItems(PageLayoutView $parentObject, &$colPosVa
$restrictions->removeByType(EndTimeRestriction::class);
$queryBuilder->setRestrictions($restrictions);

$parentObject->setOverridePageIdList([]);

$colPosValues[] = [0, ''];

return $parentObject->getResult($queryBuilder->execute());
Expand Down Expand Up @@ -372,7 +369,6 @@ protected function collectItemsForColumns(PageLayoutView $parentObject, &$colPos
{
$colPosList = array_keys($colPosValues);
$specificIds = $this->helper->getSpecificIds($row);
$parentObject->setOverridePageIdList([$specificIds['pid']]);

$queryBuilder = $this->getQueryBuilder();
$constraints = [
Expand Down

0 comments on commit b512a6e

Please sign in to comment.