mirror of
https://github.com/InsanusMokrassar/MicroUtils.git
synced 2026-11-10 22:12:59 +00:00
update paginations
This commit is contained in:
1 parent
14ffafb0a7
commit
b4abd564ec
5 files changed
+11
-4
No files matched your search
+1
-1
@@ -18,6 +18,6 @@ val Pagination.asUrlQueryArrayParts
|
||||
val Map<String, String?>.extractPagination: Pagination
|
||||
get() = SimplePagination(
|
||||
get(paginationPageKey) ?.toIntOrNull() ?: 0,
|
||||
get(paginationSizeKey) ?.toIntOrNull() ?: defaultMediumPageSize
|
||||
get(paginationSizeKey) ?.toIntOrNull() ?: defaultPaginationPageSize
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user