fix: allow offset and limit in products free text search (#1082)
This commit is contained in:
1 parent
b16976a6f4
commit
c2241d1101
2 files changed
+36
No files matched your search
@@ -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