CRM-16233 - Set default for advanced search operator
authorColeman Watts <coleman@civicrm.org>
Sat, 4 Apr 2015 00:56:46 +0000 (20:56 -0400)
committerColeman Watts <coleman@civicrm.org>
Sat, 4 Apr 2015 00:56:46 +0000 (20:56 -0400)
CRM/Contact/Form/Search/Advanced.php

index 6341daff3d8178c89df569ea41f01b4529b2ebb0..f73ebd4a9cb27d4e3b454a1bc3ed0b1f65b70619 100644 (file)
@@ -214,6 +214,7 @@ class CRM_Contact_Form_Search_Advanced extends CRM_Contact_Form_Search {
     }
 
     $defaults['privacy_toggle'] = 1;
+    $defaults['operator'] = 'AND';
 
     return $defaults;
   }