Project

General

Profile

Revision 46a93d1e

ID46a93d1e081d9dbf9480176c4dcb13fbd11cfd4a
Parent f02e26e1
Child afb1f504

Added by Andreas Kohlbecker about 2 months ago

ref #9222 adapting specimens and typedesignations to single sourced

View differences:

modules/cdm_dataportal/includes/pages.inc
38 38
    RenderHints::pushToRenderStack('taxon_page_specimens');
39 39

  
40 40
    $fieldUnitDTOs = null;
41
    $specimensOrObservations = null;
41
    $specimensOrObservations = array();
42 42
    if (variable_get(CDM_SPECIMEN_LIST_VIEW_MODE, CDM_SPECIMEN_LIST_VIEW_MODE_DEFAULT) == CDM_SPECIMEN_LIST_VIEW_MODE_OPTION_DERIVATE_TREE){
43 43
      // get fieldUnitDTOs
44 44
      $fieldUnitDTOs = cdm_ws_get(CDM_WS_TAXON_FIELDUNIT_DTOS, array( $taxon->uuid));
......
56 56
        null,
57 57
        $by_associatedtaxon_query . '&taxonUuid=' . $taxon->uuid
58 58
      );
59
      $specimensOrObservations = array();
60 59
      if (isset($pager->records[0])) {
61 60
        $specimensOrObservations = $pager->records;
62 61
      }

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)