CRM-19668 contact relationship list doesn't display correct icon for subtypes

    Details

    • Versioning Impact:
      Patch (backwards-compatible bug fixes)
    • Documentation Required?:
      None
    • Funding Source:
      Contributed Code
    • Verified?:
      No

      Description

      create a contact subtype
      create a contact using that subtype
      create a relationship to that contact
      in the contact's relationship tab, the related contact does not appear with the subtype icon. instead, the main contact type icon appears.

        Attachments

          Activity

          [CRM-19668] contact relationship list doesn't display correct icon for subtypes
          Brian Shaughnessy added a comment -

          the getImage() function should receive the contact sub_type value if present. this PR includes that in the query and parameters, and then passes that value to getImage() if present, instead of the main contact type.

          Brian Shaughnessy added a comment -

          Coleman Watts can you review and approve.

            People

            • Assignee:
              Coleman Watts
              Reporter:
              Brian Shaughnessy

              Dates

              • Created:
                Updated:
                Resolved: