When fetching existing records for "child records", the basic QueryBuilder restrictions are used. When the same thing is done for the main table, only the "deleted" restriction the take into account the "deleted" restriction.
This means that if an item is hidden, it's considered as not present, and is reimported.
What should be done :
in the method \Cobweb\ExternalImport\Domain\Repository\ChildrenRepository::prepareQueryBuilder()
after the line:
$queryBuilder = GeneralUtility::makeInstance(ConnectionPool::class)->getQueryBuilderForTable($table);
just add:
When fetching existing records for "child records", the basic QueryBuilder restrictions are used. When the same thing is done for the main table, only the "deleted" restriction the take into account the "deleted" restriction.
This means that if an item is hidden, it's considered as not present, and is reimported.
What should be done :
in the method
\Cobweb\ExternalImport\Domain\Repository\ChildrenRepository::prepareQueryBuilder()
after the line:
$queryBuilder = GeneralUtility::makeInstance(ConnectionPool::class)->getQueryBuilderForTable($table);
just add: