(hoofbeats) Temporarily disables sortMode because Tizen API is broken.
authorSalvatore Iovene <salvatore@iovene.com>
Tue, 5 Feb 2013 10:53:03 +0000 (12:53 +0200)
committerSalvatore Iovene <salvatore@iovene.com>
Tue, 5 Feb 2013 10:53:03 +0000 (12:53 +0200)
examples/hoofbeats/javascripts/library.js

index 4e51dd2..6a5d570 100644 (file)
@@ -22,8 +22,6 @@ $(function() {
                 "type", "EXACTLY", "VIDEO");
             this.typeFilter = new tizen.CompositeFilter(
                 "UNION", [this.audioTypeFilter, this.videoTypeFilter]);
-
-            this.sortMode = new tizen.SortMode("trackNumber", "ASC");
         };
 
         this.scan = function() {
@@ -38,7 +36,7 @@ $(function() {
                 this.errorCB.bind(this),
                 null,
                 this.typeFilter,
-                this.sortMode,
+                null,
                 this.fetchCount,
                 this.fetchOffset);
 
@@ -69,7 +67,7 @@ $(function() {
                     this.errorCB.bind(this),
                     null,
                     this.typeFilter,
-                    this.sortMode,
+                    null,
                     this.fetchCount,
                     this.fetchOffset);
             } else {