WIP checkin
[civicrm-core.git] / CRM / Report / Form / Membership / Summary.php
index 34c3a77e3b9154bd8a2dcd42273aed9243160b51..de12e54c119f66c2cac64a923fdcddaab3e28957 100644 (file)
@@ -100,7 +100,7 @@ class CRM_Report_Form_Membership_Summary extends CRM_Report_Form {
           'membership_type_id' => ['title' => ts('Membership Type')],
         ],
         'filters' => [
-          'join_date' => ['type' => CRM_Utils_Type::T_DATE],
+          'membership_join_date' => ['type' => CRM_Utils_Type::T_DATE],
         ],
       ],
       'civicrm_address' => [
@@ -334,15 +334,15 @@ LEFT  JOIN civicrm_contribution  {$this->_aliases['civicrm_contribution']}
 
     if (!empty($this->_params['charts'])) {
       foreach ([
-                 'receive_date',
-                 $this->_interval,
-                 'value',
-               ] as $ignore) {
+        'receive_date',
+        $this->_interval,
+        'value',
+      ] as $ignore) {
         unset($graphRows[$ignore][$count - 1]);
       }
 
       // build chart.
-      CRM_Utils_OpenFlashChart::chart($graphRows, $this->_params['charts'], $this->_interval);
+      CRM_Utils_Chart::chart($graphRows, $this->_params['charts'], $this->_interval);
     }
     parent::endPostProcess();
   }