diff --git a/src/controllers/06-request-list-controller.ts b/src/controllers/06-request-list-controller.ts index f8a008c..53b388f 100644 --- a/src/controllers/06-request-list-controller.ts +++ b/src/controllers/06-request-list-controller.ts @@ -330,7 +330,7 @@ export class RequestListController extends Controller { } const where = { - stepStatus: readyToTask || workStatus ? statusCondition : undefined, + stepStatus: readyToTask || cancelOnly || workStatus ? statusCondition : undefined, creditNote: cancelOnly ? null : undefined, request: { id: requestDataId,