Commit a16dfd49 authored by Ghitha Dinan's avatar Ghitha Dinan

page fixing

parent 678780ac
......@@ -116,7 +116,7 @@ open class BaseRepositoryNative<T>(_class: Class<T>?) {
val list: List<T> = query.resultList as List<T>
var pageable: Pageable = PageRequest.of(req.page!!, req.size!!)
if (req.enablePage == true) {
if (req.enablePage != true) {
pageable = Pageable.unpaged()
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment