oca-shared-model 1.0.14 → 1.0.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -128,6 +128,8 @@ let BaseService = class BaseService {
128
128
  let { page, size, where, relations, order } = filter;
129
129
  if (page === 0 || page === undefined)
130
130
  page = 1;
131
+ //TODO
132
+ page -= 1;
131
133
  const offset = page * size;
132
134
  const [data, total] = yield this.repository.findAndCount({
133
135
  where: where,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oca-shared-model",
3
- "version": "1.0.14",
3
+ "version": "1.0.15",
4
4
  "description": "onboard shared model",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {