From 36b33262adfd6da3c3fb4426d73ee54d42cf643a Mon Sep 17 00:00:00 2001 From: Christopher Lam Date: Mon, 5 Dec 2022 07:41:34 +0800 Subject: [PATCH] [account-piecharts] drill-down piechart: tree-depth is at most 6 --- gnucash/report/reports/standard/account-piecharts.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnucash/report/reports/standard/account-piecharts.scm b/gnucash/report/reports/standard/account-piecharts.scm index aa21538b1c..76f660e4e6 100644 --- a/gnucash/report/reports/standard/account-piecharts.scm +++ b/gnucash/report/reports/standard/account-piecharts.scm @@ -504,7 +504,7 @@ balance at a given time")) (list gnc:pagename-accounts optname-accounts (cons acct subaccts)) (list gnc:pagename-accounts optname-levels - (+ 1 tree-depth)) + (min 6 (+ 1 tree-depth))) (list gnc:pagename-general gnc:optname-reportname ((if show-fullname?