Project

General

Profile

« Previous | Next » 

Revision c079337e

Added by Andreas Kohlbecker almost 6 years ago

fix #6087 sorting areas by orderIndex

View differences:

modules/cdm_dataportal/cdm_dataportal.search.php
676 676
 */
677 677
function term_tree_as_options($term_dto_tree, &$options = array(), $prefix = '') {
678 678

  
679
  uasort($term_dto_tree, 'compare_terms_by_representationL10n');
679
  uasort($term_dto_tree, 'compare_terms_by_order_index');
680 680
  foreach ($term_dto_tree as $uuid => $dto) {
681 681
    $label = $prefix . '<span class="child-label">'
682 682
      .  $dto->representation_L10n

Also available in: Unified diff