#511 - PagedList getTotalRowCount() includes soft deleted rows in its count

This commit is contained in:
Robin Bygrave
2016-01-05 07:37:17 +13:00
parent be91e3f3f7
commit fb3e8b9fc4
2 changed files with 13 additions and 0 deletions
@@ -529,6 +529,9 @@ public class DefaultOrmQuery<T> implements SpiQuery<T> {
if (detail != null) {
copy.detail = detail.copy();
}
if (temporalMode == TemporalMode.DRAFT) {
copy.temporalMode = TemporalMode.DRAFT;
}
copy.firstRow = firstRow;
copy.maxRows = maxRows;