gnucash stable: Multiple changes pushed

John Ralls jralls at code.gnucash.org
Tue Jul 21 18:29:49 EDT 2026


Updated	 via  https://github.com/Gnucash/gnucash/commit/1547719b (commit)
	 via  https://github.com/Gnucash/gnucash/commit/13f3f5d2 (commit)
	from  https://github.com/Gnucash/gnucash/commit/332db182 (commit)



commit 1547719bd376bd823358e77d3b83ac5ee46839aa
Merge: 332db182f2 13f3f5d223
Author: John Ralls <jralls at ceridwen.us>
Date:   Tue Jul 21 15:19:09 2026 -0700

    Merge Sherlock's 'csv-split-order' into stable.


commit 13f3f5d2230f3498511ba13dbbe692675a13028a
Author: Sherlock <119709043+agwekixj at users.noreply.github.com>
Date:   Tue Jul 21 13:02:19 2026 -0700

    Bug 799790: Always put Debits before Credits for CSV register export (order transaction splits as shown on screen)
    
    Export the transaction splits in the order they appear in the register.

diff --git a/gnucash/import-export/csv-exp/csv-transactions-export.cpp b/gnucash/import-export/csv-exp/csv-transactions-export.cpp
index 74515e5b4b..f4f6b46711 100644
--- a/gnucash/import-export/csv-exp/csv-transactions-export.cpp
+++ b/gnucash/import-export/csv-exp/csv-transactions-export.cpp
@@ -296,21 +296,12 @@ export_query_splits (CsvExportInfo *info, bool is_trading_acct,
             continue;
         }
 
-        // Write complex Transaction Line.
-        auto line = make_complex_trans_line (trans, split);
-        info->failed = !gnc_csv_add_line (ss, line, info->use_quotes,
-                                          info->separator_str);
-
         /* Loop through the list of splits for the Transaction */
         for (auto node = xaccTransGetSplitList (trans); !info->failed && node;
              node = node->next)
         {
             auto t_split{static_cast<Split*>(node->data)};
 
-            // base split is already written on the trans_line
-            if (split == t_split)
-                continue;
-
             // Only export trading splits if exporting a trading account
             Account *tsplit_acc = xaccSplitGetAccount (t_split);
             if (!is_trading_acct &&



Summary of changes:
 gnucash/import-export/csv-exp/csv-transactions-export.cpp | 9 ---------
 1 file changed, 9 deletions(-)



More information about the gnucash-changes mailing list