]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
webui: epg - add duration to store/dataIndex - fix sorting, fixes #4909
authorJaroslav Kysela <perex@perex.cz>
Thu, 1 Feb 2018 16:01:36 +0000 (17:01 +0100)
committerJaroslav Kysela <perex@perex.cz>
Mon, 26 Mar 2018 11:07:12 +0000 (13:07 +0200)
src/webui/static/app/epg.js

index f7596d01ddfed1ae03d366c4373c9f7973f8287d..c98561d0e63e24068cdc436e487c251bb954aedc 100644 (file)
@@ -428,6 +428,7 @@ tvheadend.epg = function() {
                 type: 'date',
                 dateFormat: 'U' /* unix time */
             },
+            { name: 'duration' },
             { name: 'starRating' },
             { name: 'ageRating' },
             { name: 'genre' },
@@ -577,6 +578,7 @@ tvheadend.epg = function() {
                 id: 'duration',
                 header: _("Duration"),
                 tooltip: _("Duration"),
+                dataIndex: 'duration',
                 renderer: renderDuration
             },
             {