Project

General

Profile

« Previous | Next » 

Revision cf27d48e

Added by Andreas Kohlbecker about 3 years ago

ref #9535 keyterm message_L10n to representation_L10n - adapting dataportal

View differences:

modules/cdm_dataportal/includes/occurrences.inc
427 427
                switch ($field) {
428 428

  
429 429
                  case 'recordBasis':
430
                    $label = $value->message_L10n;
430
                    $label = $value->representation_L10n;
431 431
                    if($label == 'Dna Sample'){
432 432
                      $label == 'DNA Sample';
433 433
                    }
......
1345 1345
  if (is_object($specimen_or_observation_dto)) {
1346 1346

  
1347 1347
    if(isset($specimen_or_observation_dto->recordBase)){
1348
        $type_label = $specimen_or_observation_dto->recordBase->message_L10n;
1348
        $type_label = $specimen_or_observation_dto->recordBase->representation_L10n;
1349 1349
    }
1350 1350
      RenderHints::setFootnoteListKey($type_label . '-' . $specimen_or_observation_dto->uuid);
1351 1351

  
......
1379 1379

  
1380 1380
                /* ---- SpecimenOrObservationBase --- */
1381 1381
                case 'recordBase':
1382
                  $label = $value->message_L10n;
1382
                  $label = $value->representation_L10n;
1383 1383
                  if($label == 'Dna Sample'){
1384 1384
                    $label == 'DNA Sample';
1385 1385
                  }

Also available in: Unified diff