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

Views update to civicrm_views_add_fields() function

    Details

    • Type: Improvement
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.0.5
    • Fix Version/s: 4.1.0
    • Labels:
      None

      Description

      The civicrm_views_add_fields() function is used to automatically build the array passed to hook_views_data when the view_data cache is built. THis function allows us to minimize the amount of code we need to write and automatically picks up schema changes to Core CiviCRM tables. Currently this function is only applied to the civicrm_contact table. This ticket is to fix various issues with the function and generalize it to be applied to any table.

        Attachments

          Activity

            People

            • Assignee:
              jalama Jim Taylor
              Reporter:
              jalama Jim Taylor
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: