projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5fb9aa7
)
(dev/core#705) Disabling Alphabetical Pager is not respected for contribution pages.
author
yashodha
<yashodha@cividesk.com>
Thu, 14 Feb 2019 04:40:19 +0000
(10:10 +0530)
committer
yashodha
<yashodha@cividesk.com>
Thu, 14 Feb 2019 04:40:19 +0000
(10:10 +0530)
CRM/Contribute/Page/ContributionPage.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Contribute/Page/ContributionPage.php
b/CRM/Contribute/Page/ContributionPage.php
index 81a0521cc6b46c8c46ea83220d248d3084db4010..7771184f1947ed7a8ebc4b6a9d976836c971fbcf 100644
(file)
--- 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);