Browse Source

fix(nocodb): applyPaginate when ignoreViewFilterAndSort is false

pull/4435/head
Wing-Kam Wong 2 years ago
parent
commit
11555d9743
  1. 2
      packages/nocodb/src/lib/db/sql-data-mapper/lib/sql/BaseModelSqlv2.ts

2
packages/nocodb/src/lib/db/sql-data-mapper/lib/sql/BaseModelSqlv2.ts

@ -249,7 +249,7 @@ class BaseModelSqlv2 {
qb.orderBy('created_at');
}
applyPaginate(qb, rest);
if (!ignoreViewFilterAndSort) applyPaginate(qb, rest);
const proto = await this.getProto();
const data = await this.extractRawQueryAndExec(qb);

Loading…
Cancel
Save