diff --git a/Classes/Collection/StaticRecordCollection.php b/Classes/Collection/StaticRecordCollection.php index 30dc8bb..4071ab1 100644 --- a/Classes/Collection/StaticRecordCollection.php +++ b/Classes/Collection/StaticRecordCollection.php @@ -167,7 +167,6 @@ class StaticRecordCollection extends AbstractRecordCollection implements Editabl { $queryBuilder = GeneralUtility::makeInstance(ConnectionPool::class) ->getQueryBuilderForTable(self::getCollectionDatabaseTable()); - $queryBuilder->getRestrictions()->removeAll(); $statement = $queryBuilder->select($this->getItemTableName() . '.*') ->from(self::getCollectionDatabaseTable()) ->join(