gforge-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gforge-commits] gforge/www/my index.php,1.23,1.23.2.1


From: lo-lan-do
Subject: [Gforge-commits] gforge/www/my index.php,1.23,1.23.2.1
Date: Wed, 03 Mar 2004 07:33:01 -0600

Update of /cvsroot/gforge/gforge/www/my
In directory db.perdue.net:/tmp/cvs-serv1807/www/my

Modified Files:
      Tag: Branch_3_1
        index.php 
Log Message:
Sort a few lists by alphabetic order.


Index: index.php
===================================================================
RCS file: /cvsroot/gforge/gforge/www/my/index.php,v
retrieving revision 1.23
retrieving revision 1.23.2.1
diff -u -d -r1.23 -r1.23.2.1
--- index.php   25 Oct 2003 22:46:13 -0000      1.23
+++ index.php   3 Mar 2004 13:32:58 -0000       1.23.2.1
@@ -158,7 +158,7 @@
                "FROM groups,filemodule_monitor,frs_package ".
                "WHERE groups.group_id=frs_package.group_id AND groups.status = 
'A' ".
                "AND frs_package.package_id=filemodule_monitor.filemodule_id ".
-               "AND filemodule_monitor.user_id='".user_getid()."' ORDER BY 
group_name DESC";
+               "AND filemodule_monitor.user_id='".user_getid()."' ORDER BY 
group_name ASC";
        $result=db_query($sql);
        $rows=db_numrows($result);
        if (!$result || $rows < 1) {
@@ -348,7 +348,8 @@
                . "FROM groups,user_group "
                . "WHERE groups.group_id=user_group.group_id "
                . "AND user_group.user_id='". user_getid() ."' "
-               . "AND groups.status='A'");
+               . "AND groups.status='A' "
+               . "ORDER BY groups.group_name ASC"   );
        $rows=db_numrows($result);
        if (!$result || $rows < 1) {
                echo '<strong>'.$Language->getText('my', 
'no_projects').'</strong>';





reply via email to

[Prev in Thread] Current Thread [Next in Thread]