]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
WebTV: Correct remote sort (defaultL: by channel number)
authorIan <ian@sproink.co.uk>
Sat, 18 Oct 2014 14:56:22 +0000 (15:56 +0100)
committerJaroslav Kysela <perex@perex.cz>
Mon, 20 Oct 2014 17:38:09 +0000 (19:38 +0200)
src/webui/static/tv.js

index 351a9926cd93236fc070b3bd5721d8d6bd6c8319..04b9a0c734aba4a59df60b64a01849c50dbe5fa8 100644 (file)
@@ -435,8 +435,9 @@ tv.app = function() {
                 root : 'entries',
                 fields : ['icon_public_url', 'number', 'name', 'uuid'],
                 id : 'uuid',
+                remoteSort: true,
                 sortInfo : {
-                    field : 'number', // WIBI: Ideally, sort the whole channel list at source
+                    field : 'number', // WIBNI: Ideally, sort the whole channel list at source
                     direction : "ASC"
                 },
                 url : "api/channel/grid"