From 9324df01f1cb216ef09fdc5d3369d730356a3869 Mon Sep 17 00:00:00 2001 From: monishdeb Date: Wed, 6 Nov 2013 20:00:14 +0530 Subject: [PATCH] CRM-13709 fix - World Region filter doesn't work on Advance Search http://issues.civicrm.org/jira/browse/CRM-13709 --- CRM/Contact/BAO/Query.php | 1 + 1 file changed, 1 insertion(+) diff --git a/CRM/Contact/BAO/Query.php b/CRM/Contact/BAO/Query.php index 27a97a2b69..890b647f96 100644 --- a/CRM/Contact/BAO/Query.php +++ b/CRM/Contact/BAO/Query.php @@ -1928,6 +1928,7 @@ class CRM_Contact_BAO_Query { } } elseif ($name === 'world_region') { + $field['where'] = 'civicrm_worldregion.id'; $this->optionValueQuery( $name, $op, $value, $grouping, CRM_Core_PseudoConstant::worldRegion(), -- 2.25.1