mirror of
https://github.com/DanielSiepmann/legacy-collections.git
synced 2024-11-24 13:16:13 +01:00
Merge pull request #5 from DanielSiepmann/feature/4-respect-db-restrictions
Respect database restrictions for target table of collection
This commit is contained in:
commit
6463d5130b
1 changed files with 0 additions and 1 deletions
|
@ -167,7 +167,6 @@ class StaticRecordCollection extends AbstractRecordCollection implements Editabl
|
||||||
{
|
{
|
||||||
$queryBuilder = GeneralUtility::makeInstance(ConnectionPool::class)
|
$queryBuilder = GeneralUtility::makeInstance(ConnectionPool::class)
|
||||||
->getQueryBuilderForTable(self::getCollectionDatabaseTable());
|
->getQueryBuilderForTable(self::getCollectionDatabaseTable());
|
||||||
$queryBuilder->getRestrictions()->removeAll();
|
|
||||||
$statement = $queryBuilder->select($this->getItemTableName() . '.*')
|
$statement = $queryBuilder->select($this->getItemTableName() . '.*')
|
||||||
->from(self::getCollectionDatabaseTable())
|
->from(self::getCollectionDatabaseTable())
|
||||||
->join(
|
->join(
|
||||||
|
|
Loading…
Reference in a new issue