Details
-
Type: Improvement
-
Status: Open
-
Priority: Trivial
-
Resolution: Unresolved
-
Affects Version/s: 4.7.0
-
Fix Version/s: Unscheduled
-
Component/s: None
-
Labels:None
-
Versioning Impact:Patch (backwards-compatible bug fixes)
-
Documentation Required?:None
-
Funding Source:Needs Funding
-
Verified?:No
Description
Civi loads all activities from civicrm_activity and then counts array length to return the count in the getActivities() function. See the todo statement at https://github.com/civicrm/civicrm-core/blob/master/CRM/Activity/BAO/Activity.php#L768