Browse Source

Merge pull request #5670 from nocodb/fix/filter-nested-group

fix(nc-gui): filter nested group
pull/5671/head
Pranav C 2 years ago committed by GitHub
parent
commit
0e274ccfaf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      packages/nocodb/src/controllers/filters.controller.ts
  2. 2
      packages/nocodb/src/services/filters.service.ts

2
packages/nocodb/src/controllers/filters.controller.ts

@ -71,7 +71,7 @@ export class FiltersController {
@Get('/api/v1/db/meta/filters/:filterParentId/children')
@Acl('filterChildrenList')
async filterChildrenRead(filterParentId: string) {
async filterChildrenRead(@Param('filterParentId') filterParentId: string) {
return new PagedResponseImpl(
await this.filtersService.filterChildrenList({
filterId: filterParentId,

2
packages/nocodb/src/services/filters.service.ts

@ -51,7 +51,7 @@ export class FiltersService {
return filter;
}
async filterChildrenList(param: { filterId: any }) {
async filterChildrenList(param: { filterId: string }) {
return Filter.parentFilterList({
parentId: param.filterId,
});

Loading…
Cancel
Save