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

Civi Views componet relationship handlers have error

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.3.1
    • Fix Version/s: 4.3.2
    • Labels:
      None

      Description

      Current relationship handler to CiviCampaign in views - civicrm_event.inc is

      // Link to Campaign Table
      if (isset($enabled['CiviCampaign']))

      { $data['civicrm_event']['campaign_id'] = array( 'title' => t('Campaign'), 'help' => t('Event -> Campaign'), 'relationship' => array( 'base' => 'civicrm_campaign', 'field' => 'id', 'handler' => 'views_handler_relationship', 'label' => t('Event -> Campaign'), ), 'field' => 'id' should be 'base field' => 'id' This is repeated in other ic files that have a CiviCampaign relationship handler. ); }

        Attachments

          Activity

            People

            • Assignee:
              lobo Donald A. Lobo
              Reporter:
              tonyhrx Tony Horrocks
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: