Commit 200412c5 authored by Stefan Busemann's avatar Stefan Busemann
Browse files

Merge branch 'bugfix/handle-members-only-on-main-storage-pid' into 'develop'

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

See merge request !440
parents 3579043f ee0a13a7
Pipeline #12479 passed with stages
in 6 minutes and 43 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