Change default page size to 250. Should help with safari timeouts.

This commit is contained in:
Leonardo Galli 2017-04-26 15:17:42 +02:00
parent f1e8a9acfc
commit b568072140
2 changed files with 3 additions and 3 deletions

View File

@ -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'

View File

@ -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);
},