diff --git a/main/webapp/modules/core/scripts/views/data-table/data-table-view.js b/main/webapp/modules/core/scripts/views/data-table/data-table-view.js index d90092ad3..350636b6f 100644 --- a/main/webapp/modules/core/scripts/views/data-table/data-table-view.js +++ b/main/webapp/modules/core/scripts/views/data-table/data-table-view.js @@ -502,7 +502,7 @@ DataTableView.prototype._onClickFirstPage = function(elmt, evt) { }; DataTableView.prototype._onClickLastPage = function(elmt, evt) { - this._showRows(Math.floor(theProject.rowModel.filtered / this._pageSize) * this._pageSize); + this._showRows(Math.floor((theProject.rowModel.filtered - 1) / this._pageSize) * this._pageSize); }; DataTableView.prototype._getSortingCriteriaCount = function() {