From 151a8d87ee299b54da262346471aa71a729a6eb2 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Mon, 26 Oct 2009 18:52:26 -0400 Subject: Fixed sorting in bal reports when --flat is used Note that sorting on the "total" is not the same thing as sorting on the "display_total" when multiple commodities are in use and the -X flag is selected! One should always sort on display_total, since that's the value which is shown in the report. 'T' is a synonym for display_total. --- src/output.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/output.h') diff --git a/src/output.h b/src/output.h index a35d81cd..5e06db9a 100644 --- a/src/output.h +++ b/src/output.h @@ -109,7 +109,7 @@ public: std::pair mark_accounts(account_t& account, const bool flat); - virtual std::size_t post_account(account_t& account); + virtual std::size_t post_account(account_t& account, const bool flat); virtual void flush(); virtual void operator()(account_t& account); -- cgit v1.2.3