From 676ec321c0b8c443a691ba4a86bcdb0a14a4e1d3 Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Wed, 20 Dec 2023 15:08:43 +1300 Subject: [PATCH] Fix notice, undefined property on Pcp page --- CRM/PCP/Page/PCP.php | 10 ++++++++++ templates/CRM/PCP/Page/PCP.tpl | 1 - 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/CRM/PCP/Page/PCP.php b/CRM/PCP/Page/PCP.php index d18e6354d3..e4523a3469 100644 --- a/CRM/PCP/Page/PCP.php +++ b/CRM/PCP/Page/PCP.php @@ -37,6 +37,16 @@ class CRM_PCP_Page_PCP extends CRM_Core_Page_Basic { return 'CRM_PCP_BAO_PCP'; } + /** + * This holds the value taken from the url for the A-Z pager. + * + * It seems like the A-Z pager is a bit broken & could be removed + * from this page. + * + * @var string|null + */ + protected $_sortByCharacter; + /** * Get action Links. * diff --git a/templates/CRM/PCP/Page/PCP.tpl b/templates/CRM/PCP/Page/PCP.tpl index 343d6adef5..2c5539f4ce 100644 --- a/templates/CRM/PCP/Page/PCP.tpl +++ b/templates/CRM/PCP/Page/PCP.tpl @@ -19,7 +19,6 @@ {if $rows}

-{include file="CRM/common/pager.tpl" location="top"} {include file="CRM/common/pagerAToZ.tpl"} {include file="CRM/common/jsortable.tpl"} {strip} -- 2.25.1