TR: (ENH) enable subtotal/grouping for Transaction Description

This commit is contained in:
Christopher Lam 2018-05-01 21:05:55 +08:00
parent 4a7bc0b53d
commit f89f00f59d

View File

@ -194,10 +194,10 @@ in the Options panel."))
(cons 'renderer-fn #f)))
(cons 'description (list (cons 'sortkey (list SPLIT-TRANS TRANS-DESCRIPTION))
(cons 'split-sortvalue #f)
(cons 'split-sortvalue (lambda (s) (xaccTransGetDescription (xaccSplitGetParent s))))
(cons 'text (_ "Description"))
(cons 'tip (_ "Sort by description."))
(cons 'renderer-fn #f)))
(cons 'renderer-fn (lambda (s) (xaccTransGetDescription (xaccSplitGetParent s))))))
(if (and (gnc-current-session-exist)
(qof-book-use-split-action-for-num-field (gnc-get-current-book)))