From fcd56c6c230e590e38195fefa7db21cdfed8fd59 Mon Sep 17 00:00:00 2001 From: Mottie Date: Tue, 18 Mar 2014 17:40:03 -0500 Subject: [PATCH] update pager widget with change from #548 --- js/widgets/widget-pager.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/widgets/widget-pager.js b/js/widgets/widget-pager.js index 4730a3b2..ff3bf927 100644 --- a/js/widgets/widget-pager.js +++ b/js/widgets/widget-pager.js @@ -733,6 +733,7 @@ tsp = ts.pager = { $.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 ); tsp.moveToPage(table, p); },