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

Drupal views: Activity assignee relationship joins on incorrect column

    Details

      Description

      Steps to reproduce:

      1. Create a drupal view of civicrm activities
      2. Add a 'Civicrm Activity Assignments' relationship
      3. Add civicrm contact display name based on assignee relationship

      The 'assignee' will have no correlation to the activity at all.

      This is because the the relationship is joining the civicrm_contact and civicrm_activity_assignment tables on their id columns, rather than their id column and assignee_contact_id column, respectively.

      The attached patch corrects this.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                pittstains Frank J. Gómez
                Reporter:
                torrance123 Torrance
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: