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.
This commit is contained in:
Vincent Dawans 2023-04-23 22:41:36 -07:00 committed by John Ralls
parent b7e966d828
commit 2e18c74668

View File

@ -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))