]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
WEBUI DVR upcoming: use channel field instead channelname, fixes #2609
authorJaroslav Kysela <perex@perex.cz>
Tue, 20 Jan 2015 12:35:46 +0000 (13:35 +0100)
committerJaroslav Kysela <perex@perex.cz>
Tue, 20 Jan 2015 12:38:33 +0000 (13:38 +0100)
src/dvr/dvr_db.c
src/webui/static/app/dvr.js

index 242d002ccfb28d6d038b72c7b4348936d48b1272..f05ca86b001887119860e8be95078ec92ab15592 100644 (file)
@@ -1777,6 +1777,7 @@ const idclass_t dvr_entry_class = {
       .get      = dvr_entry_class_channel_name_get,
       .set      = dvr_entry_class_channel_name_set,
       .off      = offsetof(dvr_entry_t, de_channel_name),
+      .opts     = PO_RDONLY,
     },
     {
       .type     = PT_LANGSTR,
index 4cde7833aef20f639efbf42d35646ec17e4fb944..9c28a59798d82285f2cf22b47e9d2f831e0decc8 100644 (file)
@@ -215,7 +215,7 @@ tvheadend.dvr_upcoming = function(panel, index) {
         },
         del: true,
         list: 'disp_title,episode,pri,start_real,stop_real,' +
-              'duration,channelname,owner,creator,config_name,' +
+              'duration,channel,owner,creator,config_name,' +
               'sched_status,comment',
         sort: {
           field: 'start_real',