Merge pull request #477 from yileicn/master

add Pagination size default value
This commit is contained in:
C. Oceania 2024-05-30 06:40:07 -05:00 committed by GitHub
commit 3233ac723f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -15,7 +15,7 @@ public class Pagination
{ {
get get
{ {
return _size; return _size > 0 ? _size : 1;
} }
set set
{ {