From 065c349d6c16bfbfdefc203227ca67c011aef21c Mon Sep 17 00:00:00 2001 From: btafoya Date: Mon, 2 Sep 2013 15:23:52 -0700 Subject: [PATCH] Fixed pagination in which it was not showing the correct number of pages due to use of the incorrect variable. --- pagination/bootstrap.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pagination/bootstrap.js b/pagination/bootstrap.js index a9da4f8..22fd366 100644 --- a/pagination/bootstrap.js +++ b/pagination/bootstrap.js @@ -27,7 +27,7 @@ $.fn.dataTableExt.oApi.fnPagingInfo = function ( oSettings ) "iPage": oSettings._iDisplayLength === -1 ? 0 : Math.ceil( oSettings._iDisplayStart / oSettings._iDisplayLength ), "iTotalPages": oSettings._iDisplayLength === -1 ? - 0 : Math.ceil( oSettings.fnRecordsDisplay() / oSettings._iDisplayLength ) + 0 : Math.ceil( oSettings.fnRecordsTotal() / oSettings._iDisplayLength ) }; }