Skip to content

Commit

Permalink
dev/core#1059 Replace deprecated start and end url params with receiv…
Browse files Browse the repository at this point in the history
…e_date_low and receive_date_high
  • Loading branch information
seamuslee001 committed Jun 23, 2019
1 parent 7b6d75b commit d049d85
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions CRM/Contribute/Page/ContributionPage.php
Original file line number Diff line number Diff line change
Expand Up @@ -247,21 +247,21 @@ public function &contributionLinks() {
'name' => ts('Current Month-To-Date'),
'title' => ts('Current Month-To-Date'),
'url' => $urlString,
'qs' => "{$urlParams}&start={$monthDate}&end={$now}",
'qs' => "{$urlParams}&receive_date_low={$monthDate}&receive_date_high={$now}",
'uniqueName' => 'current_month_to_date',
),
CRM_Core_Action::REVERT => array(
'name' => ts('Fiscal Year-To-Date'),
'title' => ts('Fiscal Year-To-Date'),
'url' => $urlString,
'qs' => "{$urlParams}&start={$yearDate}&end={$yearNow}",
'qs' => "{$urlParams}&receive_date_low={$yearDate}&recieve_date_high={$yearNow}",
'uniqueName' => 'fiscal_year_to_date',
),
CRM_Core_Action::BROWSE => array(
'name' => ts('Cumulative'),
'title' => ts('Cumulative'),
'url' => $urlString,
'qs' => "{$urlParams}&start=&end=$now",
'qs' => "{$urlParams}&srecieve_date_low=&receive_date_high=$now",
'uniqueName' => 'cumulative',
),
);
Expand Down

0 comments on commit d049d85

Please sign in to comment.