Project

General

Profile

« Previous | Next » 

Revision 20245cca

Added by Patrick Plitzner over 4 years ago

ref #8595 Do not filter description sources by class

View differences:

modules/cdm_dataportal/includes/pages.inc
1250 1250
  if (isset($description->sources) and !empty($description->sources)) {
1251 1251
    $items = [];
1252 1252
    foreach ($description->sources as $source) {
1253
      if ($source->type == 'Aggregation' and isset($source->cdmSource) and $source->cdmSource->class=='SpecimenDescription') {
1253
      if ($source->type == 'Aggregation' and isset($source->cdmSource)){
1254 1254
        $specimendescription = $source->cdmSource;
1255 1255
        $items[] = [
1256 1256
          'data' => render_cdm_description($specimendescription),

Also available in: Unified diff