Skip to content

Commit

Permalink
Move beginPostProcess into separate function to be called by report api,
Browse files Browse the repository at this point in the history
note that this fn may be renamed
  • Loading branch information
eileenmcnaughton committed Dec 5, 2013
1 parent add2e69 commit 790b58e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CRM/Advancedfundraising/Form/Report/Contribute/Recovery.php
Original file line number Diff line number Diff line change
Expand Up @@ -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',)
Expand Down

2 comments on commit 790b58e

@tttp
Copy link

@tttp tttp commented on 790b58e Dec 5, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

But it's not a change in the core, is it?

@eileenmcnaughton
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is not = the pr linked from the forum post is

Please sign in to comment.