Fix paging breaking in bulk import.

Leonardo Galli 8 years ago
parent 35b384439f
commit 62b45f7ea7

@ -53,8 +53,11 @@ module.exports = Marionette.Layout.extend({
_pageSizeChanged : function(event) { _pageSizeChanged : function(event) {
var pageSize = parseInt($(event.target).val()); var pageSize = parseInt($(event.target).val());
this.bulkImportCollection.fullCollection.reset();
this.bulkImportCollection.reset();
//debugger;
this.bulkImportCollection.setPageSize(pageSize); this.bulkImportCollection.setPageSize(pageSize);
this.bulkImportCollection.fetch(); //this.bulkImportCollection.fetch();
}, },
columns : [ columns : [

Loading…
Cancel
Save