diff --git a/src/common/utils/search.utils.ts b/src/common/utils/search.utils.ts index 337fb4e7..b21e7f06 100644 --- a/src/common/utils/search.utils.ts +++ b/src/common/utils/search.utils.ts @@ -55,7 +55,7 @@ export function orderFilter(order: string[] | undefined): orderFilterType[] { } orderDict[orderBy[orderBy.length - 1]] = order; - orderFilter.push(orderDictHelper(orderBy.slice(1), order)); + orderFilter.push(orderDict); }); return orderFilter; }