From 9e9b8fdb6b72f3e3be0f97c94fa5ff3dad6119f1 Mon Sep 17 00:00:00 2001 From: "Donald A. Lobo" Date: Wed, 13 Mar 2013 14:17:10 -0700 Subject: [PATCH] CRM-11281 --- CRM/Contact/BAO/Query.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CRM/Contact/BAO/Query.php b/CRM/Contact/BAO/Query.php index 689a180d66..2e260d5fd0 100644 --- a/CRM/Contact/BAO/Query.php +++ b/CRM/Contact/BAO/Query.php @@ -3524,6 +3524,10 @@ WHERE id IN ( $groupIDs ) function modifiedDates($values) { $this->_useDistinct = TRUE; + + // CRM-11281, default to added date if not set + $fieldTitle = 'Added Date'; + foreach (array_keys($this->_params) as $id) { if ($this->_params[$id][0] == 'log_date') { if ($this->_params[$id][2] == 1) { -- 2.25.1