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

View integration module not passing custom data of entity types other than contacts to Views 2

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 2.2.0
    • Fix Version/s: 2.2.1
    • Labels:
      None

      Description

      When creating views based on cvicrm contacts custom datafields are available to play with.

      When creating views based on activities, relationships or anything else, custom data fields are not available.

      This appears to be down to a function call in view.inc in function:

      civicrm_views_custom_data_cache

      The line number is 2682:

      This is the corrected line

      $tree = CRM_Core_BAO_CustomGroup::getTree( $entity_type, CRM_Core_DAO::$_nullObject, null, null, $subType, null);

      It appears to fix the problem.

        Attachments

          Activity

            People

            • Assignee:
              neha.saraph Neha Kulkarni
              Reporter:
              myles myles orme
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: