fix: search term parsing
This commit is contained in:
parent
2892a76b17
commit
33bb2f3dcd
@ -32,7 +32,7 @@ export const Paginate = createParamDecorator(
|
||||
page: query.page ? parseInt(query.page.toString(), 10) : undefined,
|
||||
limit: query.limit ? parseInt(query.limit.toString(), 10) : undefined,
|
||||
sortBy: sortBy.length ? sortBy : undefined,
|
||||
search: query.page ? query.search.toString() : undefined,
|
||||
search: query.search ? query.search.toString() : undefined,
|
||||
path,
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user