Skip to content

Commit

Permalink
[BUGFIX] Add StartTimeRestriction to ConfigurationAwareRecordService
Browse files Browse the repository at this point in the history
  • Loading branch information
amirarends committed Sep 25, 2024
1 parent 1b3218b commit 50fc8ba
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
use TYPO3\CMS\Core\Database\ConnectionPool;
use TYPO3\CMS\Core\Database\Query\QueryBuilder;
use TYPO3\CMS\Core\Database\Query\QueryHelper;
use TYPO3\CMS\Core\Database\Query\Restriction\StartTimeRestriction;
use TYPO3\CMS\Core\Utility\GeneralUtility;

/**
Expand Down Expand Up @@ -134,6 +135,7 @@ protected function getRecordForIndexConfigurationIsValid(
}

$queryBuilder = $this->getQueryBuilderForTable($recordTable);
$queryBuilder->getRestrictions()->removeByType(StartTimeRestriction::class);
$queryBuilder
->select('*')
->from($recordTable)
Expand Down

0 comments on commit 50fc8ba

Please sign in to comment.