diff options
author | John Wiegley <johnw@newartisans.com> | 2009-03-03 17:08:11 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-03-03 17:08:11 -0400 |
commit | eb45a0a4f46577c6615695256e5f6866a27ef20e (patch) | |
tree | 7839ad1f692df20276921ec182a78a14b13c61b9 /src/global.cc | |
parent | cf2548c29cbd10c41bd23d119394489e1ced8e2a (diff) | |
download | fork-ledger-eb45a0a4f46577c6615695256e5f6866a27ef20e.tar.gz fork-ledger-eb45a0a4f46577c6615695256e5f6866a27ef20e.tar.bz2 fork-ledger-eb45a0a4f46577c6615695256e5f6866a27ef20e.zip |
Normalized how account totals are calculated
Diffstat (limited to 'src/global.cc')
-rw-r--r-- | src/global.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/global.cc b/src/global.cc index 22bd5b7b..dc21012c 100644 --- a/src/global.cc +++ b/src/global.cc @@ -408,6 +408,9 @@ void global_scope_t::normalize_report_options(const string& verb) if (verb[0] != 'b' && verb[0] != 'r') rep.HANDLER(base).on_only(); + if (verb[0] == 'b' || verb == "equity") + rep.HANDLER(totals).on_only(); + if (rep.HANDLED(period_) && ! rep.HANDLED(sort_all_)) rep.HANDLER(sort_xacts_).on_only(); |