Remove membership_auto_renew from defaultReturn properties
authoreileen <emcnaughton@wikimedia.org>
Wed, 7 Aug 2019 08:30:16 +0000 (20:30 +1200)
committereileen <emcnaughton@wikimedia.org>
Wed, 7 Aug 2019 17:49:15 +0000 (05:49 +1200)
commitc12447cd467b909663946c9723f83421e9ca0c54
tree2feb3f4f9fe578975c2e3077473851f9031bb5f2
parentee1da343d1593483e73bcd891b8a877e307e887c
Remove membership_auto_renew from defaultReturn properties

This field is in the defaultReturnProperties for the BAO_Query object but it's a pseudofield and as demonstrated in this PR
https://github.com/civicrm/civicrm-core/pull/14956

the ability of the [search selector](https://github.com/civicrm/civicrm-core/pull/14956/files#diff-ce8713d2ed34e1061d2b3304ec3ff6bbR69)
to determine this value is unrelated to it's presence in the Query object (which always returns an empty value as we can
see in the [export test](https://github.com/civicrm/civicrm-core/pull/14956/files#diff-4686601201fee8a8402a894c1b7df226R291)
despite contribution_recur_id being calculated (as we see a few lines earlier)
CRM/Member/BAO/Query.php
tests/phpunit/CRM/Export/BAO/ExportTest.php