added patch tom manage limit=0
This commit is contained in:
parent
186f52cdb5
commit
a39ffc0eab
|
@ -215,7 +215,7 @@ public class AccountingPersistenceQueryPostgreSQL implements AccountingPersisten
|
|||
orderingProperty = AccountingPersistenceQuery.getDefaultOrderingProperties(clz);
|
||||
}
|
||||
|
||||
if(limit == null || limit >50) {
|
||||
if(limit == null || limit<1 || limit >50) {
|
||||
limit = MAX_TOP_LIMIT;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue