From f58b19d94071daf912ab83479fb411aca8224833 Mon Sep 17 00:00:00 2001 From: Tavis Ormandy Date: Tue, 18 Apr 2023 20:23:40 -0700 Subject: fix #2220, bucket transactions ignored with reg --related This adds a new item flag, `ITEM_INFERRED`, that differentiates generated items from bucket items. This makes them show up as related items in reports. --- test/regress/issue2220.test | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 test/regress/issue2220.test (limited to 'test') diff --git a/test/regress/issue2220.test b/test/regress/issue2220.test new file mode 100644 index 00000000..095d0f63 --- /dev/null +++ b/test/regress/issue2220.test @@ -0,0 +1,8 @@ +bucket Liabilities:CreditCard + +2023/01/01 * Payment + Assets:Checking $-34.86 + +test reg --monthly --related ^Assets:Checking +23-Jan-01 - 23-Jan-31 Liabilities:CreditCard $34.86 $34.86 +end test -- cgit v1.2.3