Project

General

Profile

Revision 2f65af04

ID2f65af049f9784cd0b0de8096df842491c590b31
Parent 7efd13a9
Child 57dabcba

Added by Andreas Kohlbecker over 1 year ago

fix #8304 redirect from name to taxon page depending on drupal path argument, with test

View differences:

modules/cdm_dataportal/theme/cdm_dataportal.descriptions.theme
415 415
      }
416 416

  
417 417
      $markup = '<li class="descriptionText DescriptionElement">';
418
      $name_used_in_source_link_to_show_use = l($description_source->originalNameString, path_to_name($originalTaxonUsedInSource->uuid), array(
419
        'absolute' => TRUE,
420
        'html' => TRUE,
421
      ));
418
      $name_used_in_source_link_to_show_use = l(
419
        $description_source->originalNameString,
420
        path_to_name($originalTaxonUsedInSource->uuid, null, null, true),
421
        array(
422
          'absolute' => TRUE,
423
          'html' => TRUE,
424
        ));
422 425
      $markup .= $name_used_in_source_link_to_show_use . ': ';
423 426
      $markup .= $useSummary;
424 427
      foreach ($description->sources as $element_source) {

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)