mirror of
https://github.com/DanielSiepmann/legacy-collections.git
synced 2024-11-22 04:36:12 +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