#611 - findRowCount ignores @SoftDelete, does not add predicate

This commit is contained in:
Robin Bygrave
2016-03-22 10:35:20 +13:00
parent 5d3d73aac8
commit e57ce7a6c4
3 changed files with 30 additions and 5 deletions
@@ -600,10 +600,7 @@ public class DefaultOrmQuery<T> implements SpiQuery<T> {
if (detail != null) {
copy.detail = detail.copy();
}
if (temporalMode == TemporalMode.DRAFT) {
copy.temporalMode = TemporalMode.DRAFT;
}
copy.temporalMode = temporalMode;
copy.firstRow = firstRow;
copy.maxRows = maxRows;
copy.rawWhereClause = rawWhereClause;