mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
[report-utilities.scm] use xaccAccountGetSplitSize
This commit is contained in:
parent
85225b6902
commit
829cf34074
@ -666,7 +666,7 @@
|
||||
|
||||
;; function to count the total number of splits to be iterated
|
||||
(define (gnc:accounts-count-splits accounts)
|
||||
(fold (lambda (a b) (+ b (length (xaccAccountGetSplitList a)))) 0 accounts))
|
||||
(fold (lambda (a b) (+ b (xaccAccountGetSplitsSize a))) 0 accounts))
|
||||
|
||||
;; Sums up any splits of a certain type affecting a set of accounts.
|
||||
;; the type is an alist '((str "match me") (cased #f) (regexp #f))
|
||||
|
Loading…
Reference in New Issue
Block a user