]> 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>
Thu, 1 Feb 2018 16:01:36 +0000 (17:01 +0100)
src/webui/static/app/epg.js

index 73f573f1aecfc9214d82e33f909f11ef20729828..10fa75103170ee0713e59c28c8d283ea20a88b48 100644 (file)
@@ -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
             },
             {