Project

General

Profile

Actions

Bug #81353

closed

Query errors in StaticRecordCollection

Added by Rainer Becker over 7 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
Start date:
2017-05-28
Due date:
% Done:

100%

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

Description

Using the StaticRecordCollection leads to sql errors and wont find the right results (8.7.1).

change line 163

$statement = $queryBuilder->select($this->getItemTableName() . '.*')

to
$statement = $queryBuilder->select($this->getItemTableName()  . '_join.*')

change line 179

'sys_collection_entries_join.uid_local',

to
'sys_collection_entries_join.uid_foreign',

Actions

Also available in: Atom PDF