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

civicrm views module - event link rendering incorrectly

    Details

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

      Description

      civicirm/drupal/modules/views/civicrm/civicrm_handler_field_link_event.inc
      extra question mark after event/info causing link to render as "civicrm/event/info??id=.."

      // LINKING TO EVENT INFO

      • case 'page':
        if (user_access('view event info') && $link_text !== NULL && $link_text !== '') {
        return civicrm_views_href( $link_text,
      • 'civicrm/event/info?',
        "id={$values->id}&reset=1" );
        }

      case 'page':
      if (user_access('view event info') && $link_text !== NULL && $link_text !== '') {
      return civicrm_views_href( $link_text,
      + 'civicrm/event/info',
      "id={$values->id}&reset=1" );
      }

      Could not post a patch as I'm away from my dev workstation. sorry

        Attachments

          Activity

            People

            • Assignee:
              neha.saraph Neha Kulkarni
              Reporter:
              tontate Anthony Nijmeh
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: