mirror of
https://github.com/Radarr/Radarr.git
synced 2024-11-04 10:02:40 +01:00
Change default page size to 250. Should help with safari timeouts.
This commit is contained in:
parent
f1e8a9acfc
commit
b568072140
@ -11,7 +11,7 @@ var UiSettings = require('../Shared/UiSettingsModel');
|
||||
require('../Mixins/backbone.signalr.mixin');
|
||||
var Config = require('../Config');
|
||||
|
||||
var pageSize = parseInt(Config.getValue("pageSize")) || 1000;
|
||||
var pageSize = parseInt(Config.getValue("pageSize")) || 250;
|
||||
|
||||
var filterModes = {
|
||||
'all' : [
|
||||
@ -163,7 +163,7 @@ var Collection = PageableCollection.extend({
|
||||
},
|
||||
|
||||
filterModes : filterModes,
|
||||
|
||||
|
||||
sortMappings : {
|
||||
movie : {
|
||||
sortKey : 'series.sortTitle'
|
||||
|
@ -10,7 +10,7 @@ module.exports = SettingsModelBase.extend({
|
||||
origInit : SettingsModelBase.prototype.initialize,
|
||||
|
||||
initialize : function() {
|
||||
this.set("pageSize", Config.getValue("pageSize", 1000));
|
||||
this.set("pageSize", Config.getValue("pageSize", 250));
|
||||
this.origInit.call(this);
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user