From 2e18c74668b6cd64ef8a668676706dda08bcbd32 Mon Sep 17 00:00:00 2001 From: Vincent Dawans Date: Sun, 23 Apr 2023 22:41:36 -0700 Subject: [PATCH] Bug 797879 - [Transaction Report] running balance column not consistent with amount column for SAME transaction date Added QUERY-DEFAULT-SORT as the third sort parameter to thequery to ensure transactions are sorted as per register as a last sort level. --- gnucash/report/trep-engine.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnucash/report/trep-engine.scm b/gnucash/report/trep-engine.scm index 025efef0ee..7a90da8f97 100644 --- a/gnucash/report/trep-engine.scm +++ b/gnucash/report/trep-engine.scm @@ -2178,7 +2178,7 @@ be excluded from periodic reporting.") query (keylist-get-info (sortkey-list BOOK-SPLIT-ACTION) primary-key 'sortkey) (keylist-get-info (sortkey-list BOOK-SPLIT-ACTION) secondary-key 'sortkey) - '()) + (list QUERY-DEFAULT-SORT)) (qof-query-set-sort-increasing query (eq? primary-order 'ascend) (eq? secondary-order 'ascend) #t))