From: ProfYaffle Date: Wed, 26 Jul 2017 12:27:04 +0000 (+0100) Subject: WebUI: add return to sort-by-date when toggling back to 'All' from 'Now' X-Git-Tag: v4.2.4~93 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a674bf96af6563e7cefb7ce1849b4be06f029079;p=thirdparty%2Ftvheadend.git WebUI: add return to sort-by-date when toggling back to 'All' from 'Now' --- diff --git a/src/webui/static/app/epg.js b/src/webui/static/app/epg.js index 91c064106..47a38e5bd 100644 --- a/src/webui/static/app/epg.js +++ b/src/webui/static/app/epg.js @@ -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(); });