dev/financial#6 Added is template to search screen
authorJaap Jansma <jaap.jansma@civicoop.org>
Mon, 31 May 2021 09:32:48 +0000 (11:32 +0200)
committerJaap Jansma <jaap.jansma@civicoop.org>
Mon, 31 May 2021 09:32:48 +0000 (11:32 +0200)
CRM/Contact/Form/Search/Custom/EventAggregate.php

index 3dd307089c02ce6ca62548f8185d677b3d95e523..29e76dbeaab4cf446171f3d8734b53c4299539ea 100644 (file)
@@ -214,6 +214,7 @@ class CRM_Contact_Form_Search_Custom_EventAggregate extends CRM_Contact_Form_Sea
 
     $clauses[] = "civicrm_participant.status_id in ( 1 )";
     $clauses[] = "civicrm_contribution.is_test = 0";
+    $clauses[] = "civicrm_contribution.is_template = 0";
     $onLine = CRM_Utils_Array::value('paid_online',
       $this->_formValues
     );