order participant statuses by weighting
authorsystopia <bochan@systopia.de>
Fri, 6 Jun 2014 11:32:18 +0000 (13:32 +0200)
committersystopia <bochan@systopia.de>
Fri, 6 Jun 2014 11:32:18 +0000 (13:32 +0200)
CRM/Event/BAO/Query.php

index 707e535b79738f599593f8e7ef42a836c4fe055c..26b36a36bc28ec356818ab81b38aa7d18916194f 100644 (file)
@@ -596,7 +596,6 @@ class CRM_Event_BAO_Query {
     CRM_Core_Form_Date::buildDateRange($form, 'event', 1, '_start_date_low', '_end_date_high', ts('From'), FALSE);
 
     $status = CRM_Event_PseudoConstant::participantStatus(NULL, NULL, 'label');
-    asort($status);
     foreach ($status as $id => $Name) {
       $form->_participantStatus = &$form->addElement('checkbox', "participant_status_id[$id]", NULL, $Name);
     }