update limite to offset
This commit is contained in:
@ -82,7 +82,7 @@ export class UserRoleController {
|
||||
const res_list = repo.createQueryBuilder()
|
||||
.where(whereAttr, whereVal)
|
||||
.orderBy(param.order_field, param.order_direction)
|
||||
.skip(offset)
|
||||
.offset(offset)
|
||||
.limit(param.limit);
|
||||
|
||||
if (param.with_deleted) {
|
||||
|
||||
Reference in New Issue
Block a user