From caa34349f75f1175e17e256cb726f49e92140e55 Mon Sep 17 00:00:00 2001 From: eileen Date: Tue, 2 Jun 2020 11:55:07 +1200 Subject: [PATCH] dev/core#1725 Only export primary address fields Per ticket the queries just don't work otherwise.... --- CRM/Export/BAO/ExportProcessor.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CRM/Export/BAO/ExportProcessor.php b/CRM/Export/BAO/ExportProcessor.php index 31ad915d3e..e23467a8a0 100644 --- a/CRM/Export/BAO/ExportProcessor.php +++ b/CRM/Export/BAO/ExportProcessor.php @@ -781,7 +781,8 @@ class CRM_Export_BAO_ExportProcessor { $query = new CRM_Contact_BAO_Query($params, $returnProperties, NULL, FALSE, FALSE, $this->getQueryMode(), - FALSE, TRUE, TRUE, NULL, $this->getQueryOperator() + FALSE, TRUE, TRUE, NULL, $this->getQueryOperator(), + NULL, TRUE ); //sort by state -- 2.25.1