From 790b58ef54a5a696f752a8e393a19c946ddd4978 Mon Sep 17 00:00:00 2001 From: Eileen Date: Thu, 5 Dec 2013 17:38:47 +1300 Subject: [PATCH] Move beginPostProcess into separate function to be called by report api, note that this fn may be renamed --- CRM/Advancedfundraising/Form/Report/Contribute/Recovery.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CRM/Advancedfundraising/Form/Report/Contribute/Recovery.php b/CRM/Advancedfundraising/Form/Report/Contribute/Recovery.php index 09b0429..c043a28 100644 --- a/CRM/Advancedfundraising/Form/Report/Contribute/Recovery.php +++ b/CRM/Advancedfundraising/Form/Report/Contribute/Recovery.php @@ -168,6 +168,10 @@ function statistics(&$rows) { */ function beginPostProcess() { parent::beginPostProcess(); + $this->beginPostProcessNoController(); + } + + function beginPostProcessNoController() { $this->setReportingStartDate(array( 'start_offset' => 'contribution_timeframe_value', 'start_offset_unit' => 'month',)