Browse Source

changed operator

pull/307/head
Alan Stanley 12 years ago
parent
commit
553810a133
  1. 4
      includes/utilities.inc

4
includes/utilities.inc

@ -778,9 +778,9 @@ function islandora_content_model_select_table_form_element($drupal_variable, $de
$a_val = 1;
}
if (in_array($b, $selected)) {
$b_val - 1;
$b_val = 1;
}
return $a_val - $b_val;
return $b_val - $a_val;
};
uksort($content_models, $comparator);
foreach ($content_models as $pid => $label) {

Loading…
Cancel
Save