From f3a5275522c90a9ddc961b994a8c9adc041d0f3d Mon Sep 17 00:00:00 2001 From: eug-vs Date: Sat, 17 Apr 2021 15:13:00 +0300 Subject: feat: complete filtering logic --- src/services/waybills/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/services/waybills') diff --git a/src/services/waybills/index.ts b/src/services/waybills/index.ts index 08f43fc..0b24876 100644 --- a/src/services/waybills/index.ts +++ b/src/services/waybills/index.ts @@ -17,7 +17,7 @@ const service: ServiceParams = { filters: [ { key: 'status', label: 'Статус', transform: transformStatus }, { key: 'operation', label: 'Операция', transform: transformOperation }, - { key: 'contractor._id', label: 'Контрагент', as: 'contractor.name' }, + { key: 'contractorId', label: 'Контрагент', as: 'contractor.name' }, ], default: { operation: 'in', -- cgit v1.2.3