[Midnightbsd-cvs] mports [16138] trunk/Tools/magus/www/data/magus/index.cgi: no reason to order by name

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sun Apr 6 21:01:32 EDT 2014


Revision: 16138
          http://svnweb.midnightbsd.org/mports/?rev=16138
Author:   laffer1
Date:     2014-04-06 21:01:31 -0400 (Sun, 06 Apr 2014)
Log Message:
-----------
no reason to order by name

Modified Paths:
--------------
    trunk/Tools/magus/www/data/magus/index.cgi

Property Changed:
----------------
    trunk/Tools/magus/www/data/magus/index.cgi

Modified: trunk/Tools/magus/www/data/magus/index.cgi
===================================================================
--- trunk/Tools/magus/www/data/magus/index.cgi	2014-04-07 00:54:59 UTC (rev 16137)
+++ trunk/Tools/magus/www/data/magus/index.cgi	2014-04-07 01:01:31 UTC (rev 16138)
@@ -205,7 +205,7 @@
   
   my $dbh = Magus::Run->db_Main();  
   
-  my $sth = $dbh->prepare("SELECT COUNT(*) AS count,status FROM ports WHERE run=? GROUP BY status ORDER BY name");
+  my $sth = $dbh->prepare("SELECT COUNT(*) AS count,status FROM ports WHERE run=? GROUP BY status ORDER BY status");
   $sth->execute($run->id);
   my $status_stats = $sth->fetchall_arrayref({});
   $sth->finish;


Property changes on: trunk/Tools/magus/www/data/magus/index.cgi
___________________________________________________________________
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.22
\ No newline at end of property


More information about the Midnightbsd-cvs mailing list