[rygel] core: refine sorting of elements



commit eb7330e10d25318670da2aaddc83b4452addfa2d
Author: Jens Georg <mail jensge org>
Date:   Sat Jun 27 00:04:34 2009 +0200

    core: refine sorting of elements

 src/rygel/rygel-media-db.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/rygel/rygel-media-db.vala b/src/rygel/rygel-media-db.vala
index c7fff3c..b154d35 100644
--- a/src/rygel/rygel-media-db.vala
+++ b/src/rygel/rygel-media-db.vala
@@ -111,7 +111,7 @@ public class Rygel.MediaDB : Object {
     "FROM Object LEFT OUTER JOIN Meta_Data " +
         "ON Object.metadata_fk = Meta_Data.id " +
     "WHERE Object.parent = ? " +
-        "ORDER BY Meta_Data.track ASC, title ASC " +
+        "ORDER BY type_fk ASC, Meta_Data.class ASC, Meta_Data.track ASC, title ASC " +
     "LIMIT ?,?";
 
     private const string URI_GET_STRING =



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