Project

General

Profile

RE: Anyway to save UI settings ยป uipaging.patch

Dave Pickles, 2020-10-11 17:45

View differences:

src/webui/static/app/tvheadend.js 2018-01-28 10:29:19.383985027 +0000
694 694
tvheadend.PagingToolbarConf = function(conf, title, auto, count)
695 695
{
696 696
  conf.width = 50;
697
  conf.pageSize = 50;
697
  conf.pageSize = 1000;
698 698
  conf.displayInfo = true;
699 699
                    /// {0} start, {1} end, {2} total, {3} title
700 700
  conf.displayMsg = _('{3} {0} - {1} of {2}').replace('{3}', title);
701
-- src/webui/static/app/idnode.js   2018-01-28 10:34:51.338885610 +0000
701
++ src/webui/static/app/idnode.js      2018-01-28 10:29:41.323650834 +0000
......
1740 1740
        var params = {};
1741 1741
        if (conf.all) params['all'] = 1;
1742 1742
        if (conf.extraParams) conf.extraParams(params);
1743
        params['start'] = 0;
1744
        params['limit'] = 1000;
1743 1745

  
1744 1746
        groupReader = new Ext.data.JsonReader({
1745 1747
            totalProperty: 'total',
......
2034 2036
                id: 0,
2035 2037
                fields: ['key', 'val'],
2036 2038
                data: [[25, '25'], [50, '50'], [100, '100'],
2037
                    [200, '200'], [999999999, _('All')]]
2039
                    [200, '200'], [1000, '1000'], [999999999, _('All')]]
2038 2040
            }),
2039
            value: 50,
2041
            value: 1000,
2040 2042
            mode: 'local',
2041 2043
            forceSelection: false,
2042 2044
            triggerAction: 'all',
2043
-- src/webui/static/app/dvr.js  2019-05-07 13:05:57.735415337 +0100
2045
++ src/webui/static/app/dvr.js    2019-05-07 13:11:03.318479401 +0100
......
815 815

  
816 816
    var actions = tvheadend.dvrRowActions();
817 817
    var buttonFcn = tvheadend.dvrButtonFcn;
818
    var pageSize = 50;
818
    var pageSize = 1000;
819 819
    var activePage = 0;
820 820

  
821 821
    var downloadButton = {
    (1-1/1)