Commit 19680927 authored by Mike Hibler's avatar Mike Hibler
Browse files

swap sort order so dnards come out last

parent 6a0fb842
......@@ -10,7 +10,7 @@ $query_result = mysql_db_query($TBDBNAME,
"SELECT n.node_id, n.type, nt.class,, j.eid, j.vname ".
"FROM nodes AS n LEFT JOIN reserved AS j ON n.node_id = j.node_id ".
"LEFT JOIN node_types AS nt ON n.type=nt.type ".
"WHERE role='testnode' ORDER BY type,priority");
"WHERE role='testnode' ORDER BY priority,type");
if (! $query_result) {
$err = mysql_error();
TBERROR("Database Error getting node reservation status: $err\n", 1);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment