[rygel] core: add basic sorting
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: svn-commits-list gnome org
- Subject: [rygel] core: add basic sorting
- Date: Thu, 25 Jun 2009 15:47:50 +0000 (UTC)
commit 0204118e625dd948c7f064c96fa6f3731abec37f
Author: Jens Georg <mail jensge org>
Date: Thu Jun 25 00:19:15 2009 +0200
core: add basic sorting
src/rygel/rygel-media-db.vala | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/rygel/rygel-media-db.vala b/src/rygel/rygel-media-db.vala
index bb20fb7..14d3001 100644
--- a/src/rygel/rygel-media-db.vala
+++ b/src/rygel/rygel-media-db.vala
@@ -111,6 +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 " +
"LIMIT ?,?";
private const string OBJECT_GET_URIS =
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]