Skip to content

Commit

Permalink
Merge pull request #13592 from yashodha/dev-705
Browse files Browse the repository at this point in the history
(dev/core#705) Disabling Alphabetical Pager is not respected for cont…
  • Loading branch information
eileenmcnaughton authored Feb 14, 2019
2 parents 68abd61 + 1bb7455 commit e983763
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions CRM/Contribute/Page/ContributionPage.php
Original file line number Diff line number Diff line change
Expand Up @@ -420,8 +420,10 @@ public function browse($action = NULL) {
$params = array();

$whereClause = $this->whereClause($params, FALSE);
$this->pagerAToZ($whereClause, $params);

$config = CRM_Core_Config::singleton();
if ($config->includeAlphabeticalPager) {
$this->pagerAToZ($whereClause, $params);
}
$params = array();
$whereClause = $this->whereClause($params, TRUE);
$this->pager($whereClause, $params);
Expand Down

0 comments on commit e983763

Please sign in to comment.