Enable Case search metadata on Advanced Search Form
authorSeamus Lee <seamuslee001@gmail.com>
Fri, 22 Nov 2019 08:54:02 +0000 (19:54 +1100)
committerSeamus Lee <seamuslee001@gmail.com>
Mon, 25 Nov 2019 01:48:28 +0000 (12:48 +1100)
CRM/Contact/Form/Search.php

index 63f9a68306a316315ba0df8d3103dc6593de3c2c..6b3978bb86909b4c31a58579be139fabd52711a1 100644 (file)
@@ -905,6 +905,7 @@ class CRM_Contact_Form_Search extends CRM_Core_Form_Search {
     $this->addSearchFieldMetadata(['Pledge' => CRM_Pledge_BAO_Query::getSearchFieldMetadata()]);
     $this->addSearchFieldMetadata(['PledgePayment' => CRM_Pledge_BAO_Query::getPledgePaymentSearchFieldMetadata()]);
     $this->addSearchFieldMetadata(['Grant' => CRM_Grant_BAO_Query::getSearchFieldMetadata()]);
+    $this->addSearchFieldMetadata(['Case' => CRM_Case_BAO_Query::getSearchFieldMetadata()]);
   }
 
 }