Project

General

Profile

« Previous | Next » 

Revision 50f675e7

Added by Andreas Kohlbecker 6 months ago

ref #9388 showing media specimen sources in compact registration dto (fixes search reults and 1 case in name page) - bug fix

View differences:

modules/cdm_dataportal/includes/name.inc
806 806
  }
807 807
  cdm_tagged_text_add_options($registration_dto->summaryTaggedText, $tagged_text_options);
808 808
  $tagged_text_cropped = tagged_text_crop_at($registration_dto->summaryTaggedText, 'reference', '/[dD]esignated\s+[bB]y/');
809
  $tagged_text_expanded = cdm_tagged_text_expand_entity_references($registration_dto->summaryTaggedText);
809
  $tagged_text_expanded = cdm_tagged_text_expand_entity_references($tagged_text_cropped);
810 810
  foreach ($tagged_text_expanded  as $tagged_text){
811 811
    if(isset($tagged_text->entityReference->type) && $tagged_text->entityReference->type == 'SpecimenTypeDesignation') {
812 812
      $mediaDTOs = cdm_ws_get('typedesignation/$0/media', array($tagged_text->entityReference->uuid));

Also available in: Unified diff