浏览代码

Issue #2332755: Sort external database options

Lacey Sanderson 10 年之前
父节点
当前提交
7e13fb71f7
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      includes/blast_ui.node.inc

+ 1 - 0
includes/blast_ui.node.inc

@@ -168,6 +168,7 @@ function blastdb_form($node, &$form_state) {
 
   $db_options = tripal_get_db_select_options();
   $db_options[0] = '';
+  asort($db_options);
   $form['dbxref']['db_id'] = array(
     '#type' => 'select',
     '#title' => 'External Database',