From 14aa9e9251a1063e44804db0a8fc8a713e10f645 Mon Sep 17 00:00:00 2001 From: yashodha <yashodha@cividesk.com> Date: Mon, 6 May 2019 18:25:47 +0530 Subject: [PATCH] (dev/core#705) Disabling Alphabetical Pager is not respected for events --- CRM/Event/Page/ManageEvent.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/CRM/Event/Page/ManageEvent.php b/CRM/Event/Page/ManageEvent.php index afc523e0347..1a316ef657d 100644 --- a/CRM/Event/Page/ManageEvent.php +++ b/CRM/Event/Page/ManageEvent.php @@ -314,7 +314,10 @@ class CRM_Event_Page_ManageEvent extends CRM_Core_Page { $this->_searchResult = CRM_Utils_Request::retrieve('searchResult', 'Boolean', $this); $whereClause = $this->whereClause($params, FALSE, $this->_force); - $this->pagerAToZ($whereClause, $params); + + if (CRM_Core_Config::singleton()->includeAlphabeticalPager) { + $this->pagerAToZ($whereClause, $params); + } $params = []; $whereClause = $this->whereClause($params, TRUE, $this->_force); -- GitLab