diff --git a/CRM/Extendedreport/Page/Inline/ExtendedReportlets.php b/CRM/Extendedreport/Page/Inline/ExtendedReportlets.php index 4c13968d..a245e9a5 100644 --- a/CRM/Extendedreport/Page/Inline/ExtendedReportlets.php +++ b/CRM/Extendedreport/Page/Inline/ExtendedReportlets.php @@ -18,7 +18,10 @@ public function run() { public static function getReportsToDisplay() { $reportlets = Civi::cache()->get(__CLASS__ . 'contact_summary_reportlets'); if ($reportlets === NULL) { - $reportlets = civicrm_api3('ReportInstance', 'get', ['form_values' => ['LIKE' => '%contact_reportlet";s:1:"1";%']])['values']; + $reportlets = civicrm_api3('ReportInstance', 'get', [ + 'form_values' => ['LIKE' => '%contact_reportlet";s:1:"1";%'], + 'options' => ['limit' => 0], + ])['values']; Civi::cache()->set(__CLASS__ . 'contact_summary_reportlets', $reportlets); } return $reportlets;