Increase fullCollection page size, update Refresh Library command

pull/728/merge
Tim Turner 8 years ago
parent 4d745d3600
commit 997dce288d

@ -47,10 +47,10 @@ module.exports = Marionette.Layout.extend({
cell : MovieTitleCell, cell : MovieTitleCell,
cellValue : 'this' cellValue : 'this'
}, },
{ {
name: "downloadedQuality", name: "downloadedQuality",
label: "Downloaded", label: "Downloaded",
cell: DownloadedQualityCell, cell: DownloadedQualityCell,
}, },
{ {
name : 'profileId', name : 'profileId',
@ -71,7 +71,7 @@ module.exports = Marionette.Layout.extend({
{ {
title : 'Update Library', title : 'Update Library',
icon : 'icon-sonarr-refresh', icon : 'icon-sonarr-refresh',
command : 'refreshseries', command : 'refreshmovie',
successMessage : 'Library was updated!', successMessage : 'Library was updated!',
errorMessage : 'Library update failed!' errorMessage : 'Library update failed!'
} }

@ -2,6 +2,6 @@ var movieCollection = require('./MoviesCollection');
var fullCollection = movieCollection.clone(); var fullCollection = movieCollection.clone();
fullCollection.bindSignalR(); fullCollection.bindSignalR();
fullCollection.state.pageSize = 10000; fullCollection.state.pageSize = 100000;
fullCollection.fetch({reset : true}); fullCollection.fetch({reset : true});
module.exports = fullCollection; module.exports = fullCollection;

Loading…
Cancel
Save