From: Ian Date: Sat, 18 Oct 2014 14:56:22 +0000 (+0100) Subject: WebTV: Correct remote sort (defaultL: by channel number) X-Git-Tag: v4.1~950 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=93056943b657617cf70b05e1931be61da3ebb2e6;p=thirdparty%2Ftvheadend.git WebTV: Correct remote sort (defaultL: by channel number) --- diff --git a/src/webui/static/tv.js b/src/webui/static/tv.js index 351a9926c..04b9a0c73 100644 --- a/src/webui/static/tv.js +++ b/src/webui/static/tv.js @@ -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"