fix: allow offset and limit in products free text search (#1082)
This commit is contained in:
committed by
olivermrbl
parent
3b878bc5dd
commit
a81def2f75
@@ -890,6 +890,8 @@ class ProductService extends BaseService {
|
||||
.orWhere(`collection.title ILIKE :q`, { q: `%${q}%` })
|
||||
})
|
||||
)
|
||||
.skip(query.skip)
|
||||
.take(query.take)
|
||||
|
||||
if (query.withDeleted) {
|
||||
qb = qb.withDeleted()
|
||||
|
||||
Reference in New Issue
Block a user