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

Leonardo Galli 8 years ago
parent f1e8a9acfc
commit b568072140

@ -11,7 +11,7 @@ var UiSettings = require('../Shared/UiSettingsModel');
require('../Mixins/backbone.signalr.mixin'); require('../Mixins/backbone.signalr.mixin');
var Config = require('../Config'); var Config = require('../Config');
var pageSize = parseInt(Config.getValue("pageSize")) || 1000; var pageSize = parseInt(Config.getValue("pageSize")) || 250;
var filterModes = { var filterModes = {
'all' : [ 'all' : [
@ -163,7 +163,7 @@ var Collection = PageableCollection.extend({
}, },
filterModes : filterModes, filterModes : filterModes,
sortMappings : { sortMappings : {
movie : { movie : {
sortKey : 'series.sortTitle' sortKey : 'series.sortTitle'

@ -10,7 +10,7 @@ module.exports = SettingsModelBase.extend({
origInit : SettingsModelBase.prototype.initialize, origInit : SettingsModelBase.prototype.initialize,
initialize : function() { initialize : function() {
this.set("pageSize", Config.getValue("pageSize", 1000)); this.set("pageSize", Config.getValue("pageSize", 250));
this.origInit.call(this); this.origInit.call(this);
}, },

Loading…
Cancel
Save