Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Minor
-
Resolution: Fixed/Completed
-
Affects Version/s: 3.4.1, 3.4.2, 4.0.0, 4.0.1, 4.0.2
-
Component/s: Core CiviCRM
-
Labels:None
Description
The counter on the "Activiites" tab should count all activities. A change in the queries caused it to exclude "Completed". The fix has been committed w/o issue # but if you want to patch, here is the one line change:
Index: CRM/Contact/BAO/Contact.php
===================================================================
— CRM/Contact/BAO/Contact.php (revision 34621)
+++ CRM/Contact/BAO/Contact.php (working copy)
@@ -2214,7 +2214,7 @@
$input = array( 'contact_id' => $contactId,
'admin' => false,
'caseId' => null,
- 'context' => null );
+ 'context' => 'activity' );
return CRM_Activity_BAO_Activity::getActivitiesCount( $input );
default :