CRM-17663 - Don't limit number of dashlets
authorColeman Watts <coleman@civicrm.org>
Wed, 21 Sep 2016 17:25:37 +0000 (13:25 -0400)
committerColeman Watts <coleman@civicrm.org>
Wed, 21 Sep 2016 17:25:37 +0000 (13:25 -0400)
CRM/Core/BAO/Dashboard.php

index 69926140eeb187d036e40b692535666a31de1309..ccc82d105c5fd80320df00a4fd5592079b80184d 100644 (file)
@@ -108,7 +108,7 @@ class CRM_Core_BAO_Dashboard extends CRM_Core_DAO_Dashboard {
       'contact_id' => $contactID,
       'is_active' => 1,
       'dashboard_id.is_active' => 1,
-      'options' => array('sort' => 'weight'),
+      'options' => array('sort' => 'weight', 'limit' => 0),
       'return' => array(
         'id',
         'weight',