Browse Source

Fixing issues discovered by test cases.

pull/2531/head
mike12345567 5 years ago
parent
commit
f9fd725307
  1. 2
      packages/server/src/integrations/base/sql.ts

2
packages/server/src/integrations/base/sql.ts

@ -170,7 +170,7 @@ function buildRead(knex: Knex, json: QueryJson, limit: number): KnexQuery {
query = query.orderBy(key, direction)
}
}
let foundLimit = BASE_LIMIT || limit
let foundLimit = limit || BASE_LIMIT
// handle pagination
if (paginate && paginate.page && paginate.limit) {
// @ts-ignore

Loading…
Cancel
Save