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

Drupal views: Allow joining to the civicrm_relationship table via either contact_id_a or contact_id_b

    Details

    • Type: Improvement
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.3.5
    • Fix Version/s: 4.4.0
    • Component/s: None
    • Labels:

      Description

      Previously the civicrm_contact table was implicitly joined to the civicrm_relationship table via the contact_id_a field. This made it impossible to join via the contact_id_b field.

      This patch removes this implicit join and instead adds two relationships to the civicrm_contact table, allowing a user to decide how to join to the civicrm_relationship table.

      This patch also standardises the use of views_handler_relationship over civicrm_handler_relationship, as this is a mess of code and as it is not being used, could probably be removed altogether.

      https://github.com/civicrm/civicrm-drupal/pull/40

        Attachments

          Activity

            People

            • Assignee:
              monish.deb Monish Deb
              Reporter:
              torrance123 Torrance
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: