Browse Source

feat: add filter query param as an alias for where

pull/6748/head
Pranav C 1 year ago
parent
commit
8605a0e4f3
  1. 2
      packages/nocodb/src/db/BaseModelSqlv2.ts

2
packages/nocodb/src/db/BaseModelSqlv2.ts

@ -5064,7 +5064,7 @@ export function getListArgs(
{ ignoreAssigningWildcardSelect = false } = {},
): XcFilter {
const obj: XcFilter = {};
obj.where = args.where || args.w || '';
obj.where = args.where || args.filter || args.w || '';
obj.having = args.having || args.h || '';
obj.shuffle = args.shuffle || args.r || '';
obj.condition = args.condition || args.c || {};

Loading…
Cancel
Save