[Gnucash-changes] r13719 - gnucash/trunk - Restore sorting transactions by date posted. Fixes 335190.

David Hampton hampton at cvs.gnucash.org
Fri Mar 31 01:38:48 EST 2006


Author: hampton
Date: 2006-03-31 01:38:47 -0500 (Fri, 31 Mar 2006)
New Revision: 13719
Trac: http://svn.gnucash.org/trac/changeset/13719

Modified:
   gnucash/trunk/ChangeLog
   gnucash/trunk/src/engine/Transaction.c
Log:
Restore sorting transactions by date posted.  Fixes 335190.


Modified: gnucash/trunk/ChangeLog
===================================================================
--- gnucash/trunk/ChangeLog	2006-03-31 01:43:16 UTC (rev 13718)
+++ gnucash/trunk/ChangeLog	2006-03-31 06:38:47 UTC (rev 13719)
@@ -1,3 +1,8 @@
+2006-03-31  David Hampton  <hampton at employees.org>
+
+	* src/engine/Transaction.c: Restore sorting transactions by date
+	posted.  Fixes 335190.
+
 2006-03-30  David Hampton  <hampton at employees.org>
 
 	* src/gnome-utils/dialog-reset-warnings.c: Fix the dialog so that

Modified: gnucash/trunk/src/engine/Transaction.c
===================================================================
--- gnucash/trunk/src/engine/Transaction.c	2006-03-31 01:43:16 UTC (rev 13718)
+++ gnucash/trunk/src/engine/Transaction.c	2006-03-31 06:38:47 UTC (rev 13719)
@@ -1234,10 +1234,8 @@
   if (na < nb) return -1;
   if (na > nb) return +1;
 
-#ifdef ANYONE_CARES_ABOUT_SORT_ON_DATE_ENTERED
   /* if dates differ, return */
   DATE_CMP(ta,tb,date_entered);
-#endif
 
   /* otherwise, sort on description string */
   da = ta->description ? ta->description : "";



More information about the gnucash-changes mailing list