Skip to content

Commit

Permalink
Bug 799452 - Transaction Report: Cannot subtotal based on Number field
Browse files Browse the repository at this point in the history
enable grouping and subtotals for Num field
  • Loading branch information
christopherlam committed Oct 30, 2024
1 parent 2e52086 commit cf73829
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions gnucash/report/trep-engine.scm
Original file line number Diff line number Diff line change
Expand Up @@ -243,19 +243,19 @@ in the Options panel."))
(cons 'sortkey (list SPLIT-ACTION))
(cons 'split-sortvalue xaccSplitGetAction)
(cons 'text (G_ "Number/Action"))
(cons 'renderer-fn #f))
(cons 'renderer-fn xaccSplitGetAction))

(list 'number
(cons 'sortkey (list SPLIT-TRANS TRANS-NUM))
(cons 'split-sortvalue (compose xaccTransGetNum xaccSplitGetParent))
(cons 'text (G_ "Number"))
(cons 'renderer-fn #f)))
(cons 'renderer-fn (compose xaccTransGetNum xaccSplitGetParent))))

(list 't-number
(cons 'sortkey (list SPLIT-TRANS TRANS-NUM))
(cons 'split-sortvalue (compose xaccTransGetNum xaccSplitGetParent))
(cons 'text (G_ "Transaction Number"))
(cons 'renderer-fn #f))
(cons 'renderer-fn (compose xaccTransGetNum xaccSplitGetParent)))

(list 'memo
(cons 'sortkey (list SPLIT-MEMO))
Expand Down

0 comments on commit cf73829

Please sign in to comment.