From c5e66021025e5ec0720c0991a2762490cdf5c42c Mon Sep 17 00:00:00 2001 From: Thomas Kaul <4159106+dtslvr@users.noreply.github.com> Date: Tue, 9 Aug 2022 21:25:07 +0200 Subject: [PATCH] Improve filter by asset class (#1135) --- apps/api/src/app/order/order.service.ts | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/apps/api/src/app/order/order.service.ts b/apps/api/src/app/order/order.service.ts index 3f2a84200..bf549200e 100644 --- a/apps/api/src/app/order/order.service.ts +++ b/apps/api/src/app/order/order.service.ts @@ -230,9 +230,10 @@ export class OrderService { }) }, { - SymbolProfileOverrides: { - assetClass: null - } + OR: [ + { SymbolProfileOverrides: { is: null } }, + { SymbolProfileOverrides: { assetClass: null } } + ] } ] },