From d2316af0160844331e1b1b659d8aabbe72e5362c Mon Sep 17 00:00:00 2001 From: Mathieu Lutfy Date: Wed, 13 Jul 2016 12:35:08 -0400 Subject: [PATCH] CRM-19077: Participant listing report: add event End Date field/filter to the report. --- CRM/Report/Form/Event/ParticipantListing.php | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/CRM/Report/Form/Event/ParticipantListing.php b/CRM/Report/Form/Event/ParticipantListing.php index 2671387497..e30d3dae84 100644 --- a/CRM/Report/Form/Event/ParticipantListing.php +++ b/CRM/Report/Form/Event/ParticipantListing.php @@ -278,8 +278,15 @@ class CRM_Report_Form_Event_ParticipantListing extends CRM_Report_Form_Event { 'civicrm_event' => array( 'dao' => 'CRM_Event_DAO_Event', 'fields' => array( - 'event_type_id' => array('title' => ts('Event Type')), - 'event_start_date' => array('title' => ts('Event Start Date')), + 'event_type_id' => array( + 'title' => ts('Event Type'), + ), + 'event_start_date' => array( + 'title' => ts('Event Start Date'), + ), + 'event_end_date' => array( + 'title' => ts('Event End Date'), + ), ), 'grouping' => 'event-fields', 'filters' => array( @@ -294,6 +301,10 @@ class CRM_Report_Form_Event_ParticipantListing extends CRM_Report_Form_Event { 'title' => ts('Event Start Date'), 'operatorType' => CRM_Report_Form::OP_DATE, ), + 'event_end_date' => array( + 'title' => ts('Event End Date'), + 'operatorType' => CRM_Report_Form::OP_DATE, + ), ), 'order_bys' => array( 'event_type_id' => array( -- 2.25.1