Skip to content

Commit

Permalink
fix: a bug that orderFilter return empty filters (#65)
Browse files Browse the repository at this point in the history
  • Loading branch information
ddungiii committed Jan 20, 2024
1 parent 6af1efc commit 10a99dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/utils/search.utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 10a99dd

Please sign in to comment.