CRM-14227 - add Order By Registration Date to Participant Listing report.
authorDave Greenberg <dave@civicrm.org>
Tue, 25 Feb 2014 00:41:12 +0000 (16:41 -0800)
committerDave Greenberg <dave@civicrm.org>
Tue, 25 Feb 2014 00:41:12 +0000 (16:41 -0800)
----------------------------------------
* CRM-14227: Enable sorting the participant listing report by register date
  http://issues.civicrm.org/jira/browse/CRM-14227

CRM/Report/Form/Event/ParticipantListing.php

index 2eaa0568d2300ea5af80fda7e6be9e9260527221..c130a340fb4995a9110d6e743769b4b7598128c1 100644 (file)
@@ -239,6 +239,11 @@ class CRM_Report_Form_Event_ParticipantListing extends CRM_Report_Form_Event {
         ),
         'order_bys' =>
         array(
+          'participant_register_date' =>
+          array('title' => ts('Registration Date'),
+            'default_weight' => '1',
+            'default_order' => 'ASC',
+          ),
           'event_id' =>
           array('title' => ts('Event'), 'default_weight' => '1', 'default_order' => 'ASC'),
         ),