Project

General

Profile

« Previous | Next » 

Revision ff51c1cd

Added by Katja Luther over 4 years ago

ref #8406: fix the view for the specimen hierarchy to a genetic acc nr

View differences:

modules/cdm_dataportal/cdm_dataportal.module
1705 1705
 *   - 'title': the page title
1706 1706
 *   - 'content' : the page content rendered as markup
1707 1707
 */
1708
function specimen_by_accession_number_view($field_unit_dto = null) {
1708
function specimen_by_accession_number_view($accession_number = null) {
1709 1709

  
1710 1710
  $field_unit_dto = cdm_ws_get(CDM_WS_OCCURRENCE_ACCESSION_NUMBER, null, 'accessionNumber=' . $accession_number);
1711 1711

  
......
1751 1751
      'specimen' => $field_unit_dto
1752 1752
    ));
1753 1753

  
1754
//     $render_array['markup'] = $specimen_table;
1755

  
1754
     $render_array['markup'] = $specimen_table;
1755
     $specimenpage->content = drupal_render($render_array);
1756 1756
//        $render_array['specimens'] = array(
1757 1757
//            '#prefix' => '<div id="specimens" class="page-part">' . ($page_part == 'all' ? '<h2>' . t(cdm_taxonpage_tab_label('Specimens')) . '</h2>' : ''),
1758 1758
//            'content' => $specimen_table, // returns render array

Also available in: Unified diff