Project

General

Profile

« Previous | Next » 

Revision e5a89a58

Added by Andreas Kohlbecker almost 4 years ago

ref #8134 deterministic sort order for type designations - bug fix

View differences:

modules/cdm_dataportal/includes/name.inc
1794 1794
 *   TypeDesignation
1795 1795
 */
1796 1796
function compare_type_designations_by_status($a, $b) {
1797
  return compare_type_designation_status($a->typeStatus, $b->typeStatus);
1797
  $status_a = isset($a->typeStatus) ? $a->typeStatus : null;
1798
  $status_b = isset($b->typeStatus) ? $b->typeStatus : null;
1799
  return compare_type_designation_status($status_a, $status_b);
1798 1800
}
1799 1801

  
1800 1802
/**

Also available in: Unified diff