Project

General

Profile

Revision 6eaec849

ID6eaec8496bd0ce44b1ac261c6d0db7c3734f951d
Parent 9a7fc46c
Child 55a557d8

Added by Katja Luther over 1 year ago

implement blast search table for the result

View differences:

modules/cdm_dataportal/includes/pages.inc
82 82
    $type_specimens = array();
83 83
    $other_occurrences = array();
84 84
    foreach ($specimensOrObservations as $occurrence) {
85
        $typeDesignationsPager = cdm_ws_get(CDM_WS_OCCURRENCE . '/$0/specimenTypeDesignations', $occurrence->uuid);
85
       $typeDesignationsPager = cdm_ws_get(CDM_WS_OCCURRENCE . '/$0/specimenTypeDesignations', $occurrence->uuid);
86 86
        if (isset($typeDesignationsPager->count) && $typeDesignationsPager->count > 0) {
87 87
            $type_specimens[] = $occurrence;
88
        } else {
89
            $other_occurrences[] = $occurrence;
88
       } else {
89
           $other_occurrences[] = $occurrence;
90 90
        }
91 91
    }
92 92
    $specimensOrObservations = array_merge($type_specimens, $other_occurrences);
......
384 384
            'class' => array('summary_row_cell')
385 385
          ),
386 386
          array(
387
            'data' => $derivateHierarchy->collection,
387
            'data' => $derivateHierarchy->collectingString,
388 388
            'class' => array('summary_row_cell')
389 389
          ),
390 390
          @array(

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)