Commit ee0a13a7 authored by Thomas Löffler's avatar Thomas Löffler
Browse files

[BUGFIX] Handle only members on main storage PID for import

parent 3579043f
Pipeline #12476 passed with stages
in 4 minutes and 41 seconds
......@@ -56,14 +56,14 @@ class FetchMembersCommand extends Command
$this->queryBuilder
->update('tx_t3omembership_domain_model_member')
->where(
$this->queryBuilder->expr()->neq('external_identifier', '""')
$this->queryBuilder->expr()->neq('external_identifier', '""'),
$this->queryBuilder->expr()->eq('pid', (int)$this->extConfig['MemberStorage'])
)
->set('hidden', 1)
->execute();
$this->queryBuilder = $this->queryBuilder->getConnection()->createQueryBuilder();
$warnings = false;
foreach ($members as $member) {
$this->queryBuilder = $this->queryBuilder->getConnection()->createQueryBuilder();
$this->queryBuilder
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment