Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
WEB UI: EPG: Fix the channel tag passing to autorec, fix idnode enum …
…renderer, fixes #2340
  • Loading branch information
perexg committed Oct 5, 2014
1 parent a69cec6 commit 8d2c025
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/webui/static/app/epg.js
Expand Up @@ -862,7 +862,7 @@ tvheadend.epg = function() {
};
if (params.title) conf.title = params.title;
if (params.channel) conf.channel = params.channel;
if (params.tag) conf.tag = params.tag;
if (params.tag) conf.tag = params.channelTag;
if (params.contentType) conf.content_type = params.contentType;
if (params.durationMin) conf.minduration = params.durationMin;
if (params.durationMax) conf.maxduration = params.durationMax;
Expand Down
8 changes: 4 additions & 4 deletions src/webui/static/app/idnode.js
Expand Up @@ -297,13 +297,13 @@ tvheadend.IdNodeField = function(conf)
var t = [];
var d = v.push ? v : [v];
for (var i = 0; i < d.length; i++) {
var r = st.find('key', d[i]);
if (r !== -1) {
var nv = st.getAt(r).get('val');
var r = st.getById(d[i]);
if (r) {
var nv = r.data.val;
if (nv)
t.push(nv);
} else {
t.push(d[i]);
t.push(d[i]);
}
}
t.sort();
Expand Down

0 comments on commit 8d2c025

Please sign in to comment.