[f-spot/FSPOT_0_6_0_STABLE] Fix wrong added nodes in FolderTreeModel (and changes sorting order)



commit b3ed59e0f22d953afab9bd4aab93ed1372cfec71
Author: Mike Gemünde <mike gemuende de>
Date:   Tue Aug 11 16:51:59 2009 +0200

    Fix wrong added nodes in FolderTreeModel (and changes sorting order)
    
    The method UpdateFolderTree expects ASC as sorting order of the URIs,
    otherwise URIs can be added at wrong nodes of the tree. Changing
    the order to ASC fixes this and now the usual sorting order is used
    ('a' before 'b').

 src/Widgets/FolderTreeModel.cs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/Widgets/FolderTreeModel.cs b/src/Widgets/FolderTreeModel.cs
index d0b0658..17479d5 100644
--- a/src/Widgets/FolderTreeModel.cs
+++ b/src/Widgets/FolderTreeModel.cs
@@ -31,7 +31,7 @@ namespace FSpot.Widgets
 			"SELECT base_uri, COUNT(*) AS count " +
 			"FROM photos " + 
 			"GROUP BY base_uri " +
-			"ORDER BY base_uri DESC";
+			"ORDER BY base_uri ASC";
 		
 		
 		public FolderTreeModel ()



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