We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2677d88 commit 56d1fb3Copy full SHA for 56d1fb3
redisinsight/api/src/modules/browser/services/redisearch/redisearch.service.ts
@@ -198,7 +198,7 @@ export class RedisearchService {
198
}
199
200
return plainToClass(GetKeysWithDetailsResponse, {
201
- cursor: limit + offset,
+ cursor: limit + offset >= total ? 0 : limit + offset,
202
total,
203
scanned: keyNames.length + offset,
204
keys: keyNames.map((name) => ({ name, type })),
0 commit comments