Silent Works Reply #1, 4 months ago
I currently have a xPDO lookup that looks like this
This currently return null since I have CreatedBy twice even though they are in different relationships. If I however remove one of the CreatedBy it works fine or if I change the name of one of the CreatedBy to something like PostCreatedBy it then works. Is this a bug or am I doing something wrong?
$modx->getObjectGraph('Post', array(
'Photos' => array(),
'Comments' => array(
'CreatedBy' => array()
),
'CreatedBy' => array()
), $id);This currently return null since I have CreatedBy twice even though they are in different relationships. If I however remove one of the CreatedBy it works fine or if I change the name of one of the CreatedBy to something like PostCreatedBy it then works. Is this a bug or am I doing something wrong?