Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-21423

Disabling"Search Primary Details Only" breaks export of primary address

    Details

    • Type: Bug
    • Status: Won't Do
    • Priority: Important
    • Resolution: Won't Do
    • Affects Version/s: 4.7.25
    • Fix Version/s: None
    • Component/s: Core CiviCRM
    • Labels:
    • Versioning Impact:
      Patch (backwards-compatible bug fixes)
    • Documentation Required?:
      None
    • Funding Source:
      Needs Funding
    • Verified?:
      No

      Description

      Disabling this settings switch leads to wrong exports of contact's addresses. Reason is that a requested location_type is not set and Export.php's call to CRM_Contact_BAO_Query does not set the default search to use primary locations.

      Proposed fix in https://github.com/civicrm/civicrm-core/pull/11274

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              nielo Niels Heinemann
            • Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: