From ed459535d3d823b3de00ddf7b8360c3d360e2eef Mon Sep 17 00:00:00 2001 From: Stuart Axon Date: Fri, 26 Aug 2022 12:19:33 +0100 Subject: [PATCH] Fix list_transactions for the case when workbaskets are empty. --- pii-ner-exclude.txt | 1 + workbaskets/management/util.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/pii-ner-exclude.txt b/pii-ner-exclude.txt index da945b08c8..1e18f497b9 100644 --- a/pii-ner-exclude.txt +++ b/pii-ner-exclude.txt @@ -1168,3 +1168,4 @@ measure_qs)\n MeasureComponent Components TP2000-452 +WorkBasketOutputFormat Enum diff --git a/workbaskets/management/util.py b/workbaskets/management/util.py index 88b938c39d..3c6be99c34 100644 --- a/workbaskets/management/util.py +++ b/workbaskets/management/util.py @@ -39,7 +39,7 @@ def _output_workbasket_compact(self, workbasket, show_transaction_info, **kwargs def output_workbasket( self, workbasket, - show_transaction_info=False, + show_transaction_info, output_format=WorkBasketOutputFormat.READABLE, **kwargs, ):