mirror of
https://github.com/DanielSiepmann/legacy-collections.git
synced 2024-11-21 22:56:11 +01:00
Respect database restrictions for target table of collection
Keep expectation of user and integrator. Do not include records, if they are disabled or not available yet (e.g. starttime). Relates: #4
This commit is contained in:
parent
df14ee96a2
commit
3748b65ae5
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