[pLog-svn] r3228 - plog/trunk/class/dao
    mark at devel.lifetype.net 
    mark at devel.lifetype.net
       
    Tue Apr 11 09:49:49 GMT 2006
    
    
  
Author: mark
Date: 2006-04-11 09:49:48 +0000 (Tue, 11 Apr 2006)
New Revision: 3228
Modified:
   plog/trunk/class/dao/blogs.class.php
Log:
According to the comments of this method. The results should sorted by blog_id.
Modified: plog/trunk/class/dao/blogs.class.php
===================================================================
--- plog/trunk/class/dao/blogs.class.php	2006-04-11 08:53:41 UTC (rev 3227)
+++ plog/trunk/class/dao/blogs.class.php	2006-04-11 09:49:48 UTC (rev 3228)
@@ -194,7 +194,7 @@
 			if( $where != "" )
 				$where = " WHERE $where";
 
-            $query = "SELECT * FROM ".$this->getPrefix()."blogs $where ORDER BY blog";
+            $query = "SELECT * FROM ".$this->getPrefix()."blogs $where ORDER BY id DESC";
             
             $result = $this->Execute( $query, $page, $itemsPerPage );
 
    
    
More information about the pLog-svn
mailing list