Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
filterBySource() in findByArray() does not work for namespaced applications #201
$this->recipient = \Core\RecipientQuery::create()->findOneByName('xxx'); $this->source = \Core\SourceQuery::create()->findOneByName('yyy');
This works OK:
$count = \Core\ContentRegistryEntryQuery::create() ->filterBySource($this->source) ->filterByRecipient($this->recipient) ->filterByToken('zzz') ->count();
This does not:
$count = \Core\ContentRegistryEntryQuery::create()->findByArray( array( 'Source' => $this->source, 'Recipient' => $this->recipient, 'Token' => 'zzz', ) )->count();