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) {
var pageSize = parseInt($(event.target).val());
this.bulkImportCollection.fullCollection.reset();
this.bulkImportCollection.reset();
//debugger;
this.bulkImportCollection.setPageSize(pageSize);
this.bulkImportCollection.fetch();
//this.bulkImportCollection.fetch();
},
columns : [

View File

@ -5,4 +5,4 @@
<option value="100">100</option>
<option value="500">500</option>
<option value="1000">1000</option>
</select>
</select>