From 1bb745590baa4a0a6ca1d2952d40314b5246e9fc Mon Sep 17 00:00:00 2001 From: yashodha Date: Thu, 14 Feb 2019 10:10:19 +0530 Subject: [PATCH] (dev/core#705) Disabling Alphabetical Pager is not respected for contribution pages. --- CRM/Contribute/Page/ContributionPage.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/CRM/Contribute/Page/ContributionPage.php b/CRM/Contribute/Page/ContributionPage.php index 81a0521cc6..7771184f19 100644 --- a/CRM/Contribute/Page/ContributionPage.php +++ b/CRM/Contribute/Page/ContributionPage.php @@ -420,8 +420,10 @@ AND cp.page_type = 'contribute' $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); -- 2.25.1