Project

General

Profile

Revision 281ec7b2

ID281ec7b243b48a312f9fef4d66d05f7dc467ffc2
Parent 64cfdac1
Child b0ceec1a

Added by Andreas Kohlbecker 5 months ago

ref #9102 adapting tests

View differences:

modules/cdm_dataportal/includes/taxon-node.inc
50 50
          $state_label .= ' <span class="status-note">(' . $taxon_node->statusNote_L10n->text . ')</span>';
51 51
        }
52 52
        $classification = cdm_ws_get(CDM_WS_CLASSIFICATION, array($taxon_node->classificationUUID));
53
        $status_markup_tokens[]  = [
53
        $status_markup_tokens[$state_label . '-' . $taxon_node->uuid]  = [
54 54
          'status' => '<span class="' . html_class_attribute_ref($taxon_node) .'">' . $state_label . $annotations_and_sources['foot_note_keys']  .  '%s</span>', // %s will be replaced by the $classification_markup or by '',
55 55
          'classification' => ' <span class="' . html_class_attribute_ref($classification) .'">[' . $classification->titleCache . ']</span>'
56 56
        ];
......
58 58

  
59 59
    }
60 60
    if(count($status_markup_tokens) > 0){
61
      ksort($status_markup_tokens);
61 62
      $status_markup = [];
62 63
      $label_plural |= count($status_markup_tokens) > 1;
63 64
      $label = $label_plural ? t('Placement status') : t('Placement status');

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)