]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
webui: Fix no all recordings are shown after enable grouping and travel between tabs
authorpablozg <pablozg@gmail.com>
Thu, 26 Apr 2018 19:15:52 +0000 (21:15 +0200)
committerperexg <perex@perex.cz>
Thu, 7 Jun 2018 16:09:09 +0000 (18:09 +0200)
src/webui/static/app/dvr.js

index c6e6725ee685a47a52b6bdbc9589bef508e50438..b52804026216715fbb210c40e21fce6ac33d1a16 100644 (file)
@@ -599,6 +599,11 @@ tvheadend.dvr_finished = function(panel, index) {
 
     function viewready(grid) {
         grid.abuttons['grouping'].setText(groupingText(!grid.store.groupField));
+        if (grid.store.groupField){
+          grid.bottomToolbar.pageSize = 999999999 // Select all rows
+          grid.bottomToolbar.changePage(0);
+          grid.store.reload();
+        }
     }
 
     tvheadend.idnode_grid(panel, {