Author: david
Date: Sun Feb 13 14:24:56 2011
New Revision: 8971

Log:
Use correct 'order by' statement

Modified:
   trunk/lib/task/nestedsetBuildTask.class.php

Modified: trunk/lib/task/nestedsetBuildTask.class.php
==============================================================================
--- trunk/lib/task/nestedsetBuildTask.class.php Sun Feb 13 14:22:09 2011        
(r8970)
+++ trunk/lib/task/nestedsetBuildTask.class.php Sun Feb 13 14:24:56 2011        
(r8971)
@@ -59,8 +59,7 @@
 
     $sql = 'SELECT id, parent_id';
     $sql .= ' FROM '.QubitInformationObject::TABLE_NAME;
-    //$sql .= ' ORDER BY parent_id ASC, lft ASC';
-    $sql .= ' ORDER BY id ASC';
+    $sql .= ' ORDER BY parent_id ASC, lft ASC';
 
     $databaseManager = new sfDatabaseManager($this->configuration);
 

-- 
You received this message because you are subscribed to the Google Groups 
"Qubit Toolkit Commits" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/qubit-commits?hl=en.

Reply via email to