r16982 - gnucash/branches/2.2/src/report/report-system - [r16940] Bug#506798: Sort html account tables by account code.

Andreas Köhler andi5 at cvs.gnucash.org
Fri Feb 29 16:01:01 EST 2008


Author: andi5
Date: 2008-02-29 16:01:01 -0500 (Fri, 29 Feb 2008)
New Revision: 16982
Trac: http://svn.gnucash.org/trac/changeset/16982

Modified:
   gnucash/branches/2.2/src/report/report-system/html-acct-table.scm
Log:
[r16940] Bug#506798: Sort html account tables by account code.

Patch by Christoph Ernst.
Approved by andrewsw.


Modified: gnucash/branches/2.2/src/report/report-system/html-acct-table.scm
===================================================================
--- gnucash/branches/2.2/src/report/report-system/html-acct-table.scm	2008-02-29 21:00:49 UTC (rev 16981)
+++ gnucash/branches/2.2/src/report/report-system/html-acct-table.scm	2008-02-29 21:01:01 UTC (rev 16982)
@@ -756,7 +756,7 @@
 	
 	(for-each
 	 (lambda (acct)
-	   (let* ((subaccts (gnc-account-get-children acct))
+	   (let* ((subaccts (gnc-account-get-children-sorted acct))
 		  ;; assign output parameters
 		  (account acct)
 		  (account-name (xaccAccountGetName acct))



More information about the gnucash-changes mailing list