Fixed bug
This commit is contained in:
parent
a6237c2456
commit
e56123636f
|
@ -215,7 +215,7 @@ public class AccountingPersistenceQueryPostgreSQL implements AccountingPersisten
|
||||||
orderingProperty = AccountingPersistenceQuery.getDefaultOrderingProperties(clz);
|
orderingProperty = AccountingPersistenceQuery.getDefaultOrderingProperties(clz);
|
||||||
}
|
}
|
||||||
|
|
||||||
if(limit<1) {
|
if(limit!= null && limit<1) {
|
||||||
limit = DEFAULT_TOP_LIMIT;
|
limit = DEFAULT_TOP_LIMIT;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue