Fixed offset calculation for SQlite3

no issue
This commit is contained in:
kirrg001 2018-08-11 14:04:25 +02:00
parent a36191de5c
commit d421b8ccac
1 changed files with 1 additions and 1 deletions

View File

@ -154,7 +154,7 @@ class Resources {
});
if (objects.length && isSQLite) {
options.offset = (options.offset + 1) * options.limit;
options.offset = options.offset + options.limit;
return this._fetch(resourceConfig, {offset: options.offset, limit: options.limit});
}
});