Project

General

Profile

Revision c079337e

IDc079337e19b7aa2b7e23a64a78da5085b92029ee
Parent 6b605d3b
Child 8f2cbbc0

Added by Andreas Kohlbecker almost 4 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

Add picture from clipboard (Maximum size: 40 MB)