Skip to content

Commit

Permalink
Merge pull request #548 from evanboho/patch-1
Browse files Browse the repository at this point in the history
Fix table reset on pagination change
  • Loading branch information
Mottie committed Mar 18, 2014
2 parents 86b7ce0 + 554c526 commit 7617ac1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions addons/pager/jquery.tablesorter.pager.js
Original file line number Diff line number Diff line change
Expand Up @@ -542,6 +542,7 @@
$.data(table, 'pagerLastPage', p.page);
$.data(table, 'pagerLastSize', p.size);
p.totalPages = Math.ceil( p.totalRows / p.size );
p.filteredPages = Math.ceil( p.filteredRows / p.size );
moveToPage(table, p);
},

Expand Down

0 comments on commit 7617ac1

Please sign in to comment.