Project

General

Profile

« Previous | Next » 

Revision 8bc06094

Added by Andreas Kohlbecker about 3 years ago

ref #7599 ref #6866 refactoring derivatin tree composition into class DerivationTreeComposer

View differences:

modules/cdm_dataportal/includes/pages.inc
118 118
        );
119 119
    }
120 120
    else if(($current_view_mode == CDM_SPECIMEN_LIST_VIEW_MODE_OPTION_DERIVATE_TREE)){ // FIXME this seems to be wrong
121
      $render_array['specimen_list'] = compose_specimen_table_top_down_new($root_unit_dtos);
121
      $derivationTreeComposer = new DerivationTreeComposer($root_unit_dtos);
122
      $derivationTreeComposer->setWithDetails(true);
123
      $render_array['specimen_list'] = $derivationTreeComposer->compose();
122 124
      $render_array['specimen_list']['#weight'] = 2;
123 125
    } else {
124 126
      $specimen_table = compose_specimens_table_bottom_up($specimensOrObservations);

Also available in: Unified diff