Skip to content

Commit

Permalink
[BUGFIX] Add StartTimeRestriction to ConfigurationAwareRecordService
Browse files Browse the repository at this point in the history
Fixes: #4168, #4176
Ports: #4169
  • Loading branch information
amirarends authored and dkd-kaehm committed Dec 17, 2024
1 parent a128c30 commit 27f36af
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 27f36af

Please sign in to comment.