From 4a9fa5cd386130d17131a6e78514179e5f447090 Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Fri, 1 Feb 2019 11:29:22 -0800 Subject: [PATCH] internals: append rather than prepend forecasted txns --- hledger/Hledger/Cli/Utils.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hledger/Hledger/Cli/Utils.hs b/hledger/Hledger/Cli/Utils.hs index c13a49c32..fa040f7ab 100644 --- a/hledger/Hledger/Cli/Utils.hs +++ b/hledger/Hledger/Cli/Utils.hs @@ -161,7 +161,7 @@ journalAddForecast opts@CliOpts{reportopts_=ropts} j = do ] return $ if forecast_ ropts - then journalBalanceTransactions' opts j{ jtxns = concat [forecasttxns, jtxns j] } + then journalBalanceTransactions' opts j{ jtxns = concat [jtxns j, forecasttxns] } else j where journalBalanceTransactions' opts j =