From cff9f660374003275fc8dbce80c1efa49f18bfa5 Mon Sep 17 00:00:00 2001 From: demeritcowboy Date: Mon, 26 Sep 2022 13:03:27 -0400 Subject: [PATCH] number of rows parameter not working --- CRM/Report/Form.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Report/Form.php b/CRM/Report/Form.php index 17814e7fec..00e9909b21 100644 --- a/CRM/Report/Form.php +++ b/CRM/Report/Form.php @@ -628,7 +628,7 @@ class CRM_Report_Form extends CRM_Core_Form { // Ensure smarty variables are assigned here since this function is called from // the report api and the main buildForm is not. self::$_template->ensureVariablesAreAssigned($this->expectedSmartyVariables); - $this->_dashBoardRowCount = CRM_Utils_Request::retrieve('rowCount', 'Integer'); + $this->_dashBoardRowCount = CRM_Utils_Request::retrieve('rowCount', 'Integer') ?? CRM_Utils_Request::retrieve('crmRowCount', 'Integer'); $this->_section = CRM_Utils_Request::retrieve('section', 'Integer'); -- 2.25.1