]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
WebUI: add return to sort-by-date when toggling back to 'All' from 'Now'
authorProfYaffle <ian@sproink.co.uk>
Wed, 26 Jul 2017 12:27:04 +0000 (13:27 +0100)
committerJaroslav Kysela <perex@perex.cz>
Tue, 22 Aug 2017 09:02:41 +0000 (11:02 +0200)
src/webui/static/app/epg.js

index 91c0641069d3ad310344daa41c3f535f5fc4956f..47a38e5bd1ea8cb79085e9e57e6ac4f47dad4c11 100644 (file)
@@ -892,6 +892,8 @@ tvheadend.epg = function() {
             // Change ordering to ordering by number asc, because that's what users would expect to see
             epgStore.sortInfo = { field: 'channelNumber', direction: 'ASC' };
         }
+        else
+            epgStore.sortInfo = { field: 'start', direction: 'date' };
         epgView.reset();
     });