]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
webui: Set default sortorder for channels to assigned number
authorAndreas Öman <andreas@lonelycoder.com>
Tue, 10 May 2011 18:00:49 +0000 (20:00 +0200)
committerAndreas Öman <andreas@lonelycoder.com>
Tue, 10 May 2011 18:00:49 +0000 (20:00 +0200)
src/webui/static/app/chconf.js

index 6bbc35bcdde155a94b67e07cff5b2f1ad4f54a14..18476ec7df905e3f81d043697949305fde58c186 100644 (file)
@@ -30,6 +30,7 @@ tvheadend.channels = new Ext.data.JsonStore({
     fields: ['name', 'chid', 'xmltvsrc', 'tags', 'ch_icon',
             'epg_pre_start', 'epg_post_end', 'number'],
     id: 'chid',
+    sortInfo: { field: 'number', direction: "ASC" },
     url: "channels",
     baseParams: {
        op: 'list'