actualbudget / actualbudget/actual

[Bug]: Custom Reports with 'Tag' filters do not calculate values of tagged top level split transactions

Đang mở
#5,640 2 bình luận 0 reaction 0 người được giao Xem trên GitHub
help wanted reports
Ngôn ngữ chính
TypeScript
Star
28.7k
Fork
3k
Merge trung bình
2 ngày 11 giờ
Pull request đã merge (30 ngày)
65

Mô tả

### Verified issue does not already exist?

- [x] I have searched and found no existing issue

### What happened?

I created a custom Pie Chart report to break down the amount spent with a Tag filter. The numbers were definitely wrong, when I realized I had tagged the Top Level of a split transaction instead of tagging each individual line item under the transactions

### How can we reproduce the issue?

Create a split transaction in an account and tag the top level of the split with a tag:

- Test transaction #test-tag = $50
- Plane Ticket #test-tag = $1000
--- Ticket = $750
--- Seat Upgrade = $250

Create a custom report with the filter `Has Tag #test-tag`

See that the value will be equal to $50 instead of $1050

Now, if you tag each subtransaction of the split transaction with `#test-tag`, then you will see that the chart is properly calculated

### Where are you hosting Actual?

Docker

### What browsers are you seeing the problem on?

Firefox

### Operating System

Linux

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.