Fix paging breaking in bulk import.

This commit is contained in:
Leonardo Galli 2017-02-08 22:11:11 +01:00
parent 35b384439f
commit 62b45f7ea7
2 changed files with 5 additions and 2 deletions

View File

@ -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 : [