Skip to content

Commit

Permalink
Merge pull request #1407 from tripal/1406-tv3-chado-bulk-loader-templ…
Browse files Browse the repository at this point in the history
…ates-in-random-order

tv3g4 issue#1406 present cbl templates in sorted order
  • Loading branch information
spficklin committed Feb 6, 2023
2 parents dc5588e + 1784480 commit 510a9ef
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ function tripal_bulk_loader_form($node, $form_state) {

$results = db_select('tripal_bulk_loader_template', 't')
->fields('t', ['template_id', 'name'])
->orderBy('name')
->execute();
$templates = [];
foreach ($results as $template) {
Expand Down

0 comments on commit 510a9ef

Please sign in to comment.