Improve api.getoptions to return nested groups/tags
[civicrm-core.git] / CRM / Contact / BAO / Contact.php
index 900ab32e55101ea87d772ffb71354fb0f39b19e0..6b4b2d42c193a6621db5afb5fe89287cca343156 100644 (file)
@@ -3217,7 +3217,8 @@ LEFT JOIN civicrm_address add2 ON ( add1.master_id = add2.id )
         break;
       case 'contact_type':
         if ($context == 'search') {
-          // CRM-15495 - EntityRef filters expect this format
+          // CRM-15495 - EntityRef filters and basic search forms expect this format
+          // FIXME: Search builder does not
           return CRM_Contact_BAO_ContactType::getSelectElements();
         }
         break;