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) {
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 : [

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

Loading…
Cancel
Save