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

Allow adding chained relationships with the API

    Details

    • Type: Improvement
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.3.7
    • Fix Version/s: Unscheduled
    • Component/s: CiviCRM API
    • Labels:
      None
    • Documentation Required?:
      Developer Doc
    • Funding Source:
      Needs Funding

      Description

      It is currently not possible to add a chained relationship, because the API only sets a contact_id when chaininh, where a relationship needs a contact_id_a and a contact_id_b

      The attached patch makes it possible to add chained relations when only one of contact_id_a or contact_id_b is present.

        Attachments

          Activity

            People

            • Assignee:
              erikhommel Erik Hommel
              Reporter:
              mollux Mattias Michaux
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: