diff options
author | John Wiegley <johnw@newartisans.com> | 2009-02-16 02:51:09 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-02-16 02:51:09 -0400 |
commit | b5a972d1a0b12bb55f16af9f57166a779823bc7f (patch) | |
tree | a6bd49bdfb7a31994be53db9a83d407418995ce1 /src/report.h | |
parent | e3b40f5bb68bffd63656f6fcbbff88682dbb1eed (diff) | |
download | fork-ledger-b5a972d1a0b12bb55f16af9f57166a779823bc7f.tar.gz fork-ledger-b5a972d1a0b12bb55f16af9f57166a779823bc7f.tar.bz2 fork-ledger-b5a972d1a0b12bb55f16af9f57166a779823bc7f.zip |
The -n option for bal command is working again
The fix was that when appending new predicates, enclosed both sides of
the AND with parentheses.
Diffstat (limited to 'src/report.h')
-rw-r--r-- | src/report.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/report.h b/src/report.h index 809d0f5b..2007d29c 100644 --- a/src/report.h +++ b/src/report.h @@ -278,7 +278,7 @@ public: if (! handled) on(text); else - on(string("(") + str() + ")&" + text); + on(string("(") + str() + ")&(" + text + ")"); } DO_(args) { append(args[0].to_string()); @@ -345,7 +345,7 @@ public: if (! handled) on(text); else - on(string("(") + str() + ")&" + text); + on(string("(") + str() + ")&(" + text + ")"); } DO_(args) { append(args[0].to_string()); @@ -373,7 +373,7 @@ public: if (! handled) on(text); else - on(string("(") + str() + ")&" + text); + on(string("(") + str() + ")&(" + text + ")"); } DO_(args) { append(args[0].to_string()); |