Project

General

Profile

« Previous | Next » 

Revision 9128dcb4

Added by Andreas Kohlbecker over 7 years ago

ref #6201 adapting portal to changes in taxon/{uuid}/accepted service

View differences:

modules/cdm_dataportal/cdm_dataportal.module
1736 1736
    $singleTaxon = array_pop($taxon_pager->records);
1737 1737
    if ($singleTaxon->class != "Taxon") {
1738 1738
      // It is a Synonym -> look for the accepted.
1739
      $accepted_taxa = cdm_ws_get(CDM_WS_PORTAL_TAXON_ACCEPTED, array($singleTaxon->uuid, get_current_classification_uuid()));
1739
      $accepted_taxa = cdm_ws_get(CDM_WS_PORTAL_TAXON_ACCEPTED, array($singleTaxon->uuid), 'classificationFilter=' . get_current_classification_uuid());
1740 1740
      if (!empty($highlite_synonym_uuid)) {
1741 1741
        drupal_goto('cdm_dataportal/taxon/' . $accepted_taxa[0]->uuid . '/synonymy', array('query' => array('highlite' => $highlite_synonym_uuid)));
1742 1742
      }

Also available in: Unified diff