From: Jaroslav Kysela Date: Thu, 1 Feb 2018 16:01:36 +0000 (+0100) Subject: webui: epg - add duration to store/dataIndex - fix sorting, fixes #4909 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=11a17562f3b23c0495b58f4bb1f279f482520ab6;p=thirdparty%2Ftvheadend.git webui: epg - add duration to store/dataIndex - fix sorting, fixes #4909 --- diff --git a/src/webui/static/app/epg.js b/src/webui/static/app/epg.js index 73f573f1a..10fa75103 100644 --- a/src/webui/static/app/epg.js +++ b/src/webui/static/app/epg.js @@ -475,6 +475,7 @@ tvheadend.epg = function() { type: 'date', dateFormat: 'U' /* unix time */ }, + { name: 'duration' }, { name: 'starRating' }, { name: 'credits' }, { name: 'category' }, @@ -644,6 +645,7 @@ tvheadend.epg = function() { id: 'duration', header: _("Duration"), tooltip: _("Duration"), + dataIndex: 'duration', renderer: renderDuration }, {