Support from Acquia helps fund testing for Drupal Acquia logo

Comments

John Franklin created an issue. See original summary.

John Franklin’s picture

Status: Active » Needs review
FileSize
1.59 KB

Attached patch provides the option in views_handler_field.

Chris Matthews’s picture

Status: Needs review » Needs work
Issue tags: +Needs reroll

The 2 year old patch in #2 to views_handler_field.inc does not apply to the latest views 7.x-3.x-dev and if still relevant needs to be rerolled.

Checking patch handlers/views_handler_field.inc...
Hunk #1 succeeded at 443 (offset 21 lines).
Hunk #2 succeeded at 761 (offset 29 lines).
error: while searching for:
      $options['attributes']['rel'] = $rel;
    }

    $target = check_plain(trim(strtr($alter['target'],$tokens)));
    if (!empty($target)) {
      $options['attributes']['target'] = $target;

error: patch failed: handlers/views_handler_field.inc:1320
error: handlers/views_handler_field.inc: patch does not apply
silvi.addweb’s picture

@Chris2, Here's the patch for the same where I've added an ID field to Rewrite Output As Link, hope this will help you!.

Thanks!.

DamienMcKenna’s picture

Status: Needs work » Needs review
Issue tags: -Needs reroll

Lets see what the testbot says.