Fix double handling of fields with unique names.
authoreileen <emcnaughton@wikimedia.org>
Thu, 25 Oct 2018 11:34:43 +0000 (00:34 +1300)
committereileen <emcnaughton@wikimedia.org>
Sat, 27 Oct 2018 03:08:03 +0000 (16:08 +1300)
commitcedeaa5cda7f29930417bdddaf2a5dd17ad73793
tree28aca7dfa7f3a7324895e17ec0444e9035826adf
parentce12a9e0288b5b8cc6cb4cc95331509a6133c060
Fix double handling of fields with unique names.

The relationship array is being built with 'names' & the main array with 'unique names' which later need to be wrangled back into sync. Do relationships the same as main array
CRM/Export/BAO/Export.php
tests/phpunit/CRM/Export/BAO/ExportTest.php