added patch tom manage limit=0

This commit is contained in:
Luca Frosini 2021-11-25 14:39:15 +01:00
parent 186f52cdb5
commit a39ffc0eab
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}