Revision 6eaec849
implement blast search table for the result
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