IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 20174


Ignore:
Timestamp:
Oct 15, 2008, 10:39:49 AM (18 years ago)
Author:
jhoblitt
Message:

sort output

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Nebulous-Server/bin/neb-voladm

    r20162 r20174  
    33# Copyright (C) 2008  Joshua Hoblitt
    44#
    5 # $Id: neb-voladm,v 1.8 2008-10-15 02:20:27 jhoblitt Exp $
     5# $Id: neb-voladm,v 1.9 2008-10-15 20:39:49 jhoblitt Exp $
    66
    77use strict;
     
    9595my ($q, @bind);
    9696if (%constraint) {
    97     ($q, @bind) = sql_interp($sql->get_volumes . "WHERE", \%constraint);
     97    ($q, @bind) = sql_interp($sql->get_volumes . "WHERE", \%constraint, "ORDER BY v.name");
    9898} else {
    99     $q = $sql->get_volumes;
     99    $q = $sql->get_volumes . " ORDER BY v.host, v.name";
    100100}
    101101
Note: See TracChangeset for help on using the changeset viewer.