Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-8247

Activity count on Contact Summary tab is excluding 'Completed' activities

    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
    • Fix Version/s: 3.4.3, 4.0.3
    • 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 :

        Attachments

          Activity

            People

            • Assignee:
              kurund Kurund Jalmi
              Reporter:
              dgg David Greenberg
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: