From 0673aa24e6b5ab314af6f281a3f4885429e6bb7f Mon Sep 17 00:00:00 2001 From: Thomas Kaul <4159106+dtslvr@users.noreply.github.com> Date: Sat, 22 Nov 2025 17:39:41 +0100 Subject: [PATCH] Bugfix/edit of draft activities (#5974) * Fix edit of draft activities * Update changelog --- CHANGELOG.md | 4 ++++ apps/api/src/app/order/order.controller.ts | 1 + 2 files changed, 5 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index ba7ef4d37..27e31f313 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,6 +18,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Resolved the data source of the `GHOSTFOLIO` data provider in the import functionality - Improved the language localization for German (`de`) +### Fixed + +- Fixed an issue with the edit of future activities (drafts) + ## 2.218.0 - 2025-11-20 ### Added diff --git a/apps/api/src/app/order/order.controller.ts b/apps/api/src/app/order/order.controller.ts index 962558315..73c295f1b 100644 --- a/apps/api/src/app/order/order.controller.ts +++ b/apps/api/src/app/order/order.controller.ts @@ -166,6 +166,7 @@ export class OrderController { const { activities } = await this.orderService.getOrders({ userCurrency, + includeDrafts: true, userId: impersonationUserId || this.request.user.id, withExcludedAccountsAndActivities: true });