From e1a1a24e05b7ff3bc9086ce1abe93d5ed0bb174b Mon Sep 17 00:00:00 2001 From: Andrew Hunt Date: Wed, 17 Jul 2013 11:41:09 -0400 Subject: [PATCH] added event start date as field and filter --- CRM/Report/Form/Event/ParticipantListing.php | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/CRM/Report/Form/Event/ParticipantListing.php b/CRM/Report/Form/Event/ParticipantListing.php index 66ceb33fcf..7a7084e815 100644 --- a/CRM/Report/Form/Event/ParticipantListing.php +++ b/CRM/Report/Form/Event/ParticipantListing.php @@ -214,9 +214,9 @@ class CRM_Report_Form_Event_ParticipantListing extends CRM_Report_Form_Event { 'civicrm_event' => array( 'dao' => 'CRM_Event_DAO_Event', - 'fields' => - array( + 'fields' => array( 'event_type_id' => array('title' => ts('Event Type')), + 'event_start_date' => array('title' => ts('Event Start Date')), ), 'grouping' => 'event-fields', 'filters' => @@ -227,6 +227,10 @@ class CRM_Report_Form_Event_ParticipantListing extends CRM_Report_Form_Event { 'operatorType' => CRM_Report_Form::OP_MULTISELECT, 'options' => CRM_Core_OptionGroup::values('event_type'), ), + 'event_start_date' => array( + 'title' => ts('Event Start Date'), + 'operatorType' => CRM_Report_Form::OP_DATE, + ), ), 'order_bys' => array( @@ -645,4 +649,4 @@ class CRM_Report_Form_Event_ParticipantListing extends CRM_Report_Form_Event { } } } -} \ No newline at end of file +} -- 2.25.1