mirror of
https://github.com/actualbudget/actual.git
synced 2026-03-09 03:32:54 -05:00
Include category group in transaction export (#6960)
* include category group in transaction export * Apply suggestion from @yzAlvin Co-authored-by: Alvin Zhao <yzalvin@duck.com> --------- Co-authored-by: youngcw <calebyoung94@gmail.com>
This commit is contained in:
@@ -69,6 +69,7 @@ export async function exportQueryToCSV(query) {
|
||||
{ IsChild: 'is_child' },
|
||||
{ SortOrder: 'sort_order' },
|
||||
{ Notes: 'notes' },
|
||||
{ CategoryGroup: 'category.group.name' },
|
||||
{ Category: 'category.name' },
|
||||
{ Amount: 'amount' },
|
||||
{ Cleared: 'cleared' },
|
||||
@@ -110,6 +111,7 @@ export async function exportQueryToCSV(query) {
|
||||
') ' +
|
||||
(trans.Notes || '')
|
||||
: trans.Notes,
|
||||
Category_Group: trans.CategoryGroup,
|
||||
Category: trans.Category,
|
||||
Amount: trans.IsParent
|
||||
? 0
|
||||
|
||||
6
upcoming-release-notes/6960.md
Normal file
6
upcoming-release-notes/6960.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
category: Enhancements
|
||||
authors: [yzAlvin]
|
||||
---
|
||||
|
||||
Include category groups on transaction export
|
||||
Reference in New Issue
Block a user