From edd87fa47cc6a95e1f5d50b4e93a7770d877e473 Mon Sep 17 00:00:00 2001 From: Christopher Lam Date: Thu, 7 Mar 2019 20:45:24 +0800 Subject: [PATCH] [cash-flow] preprocess accounts/money-in/out-accounts this avoids set! calls --- gnucash/report/standard-reports/cash-flow.scm | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/gnucash/report/standard-reports/cash-flow.scm b/gnucash/report/standard-reports/cash-flow.scm index 611ecad7ef..fd61a006dd 100644 --- a/gnucash/report/standard-reports/cash-flow.scm +++ b/gnucash/report/standard-reports/cash-flow.scm @@ -160,7 +160,8 @@ (filter (lambda (acc) (not (member acc accounts))) (if show-subaccts? (gnc:acccounts-get-all-subaccounts accounts) - '()))))) + '())))) + (accounts (sort accounts account-full-name