Restore sorting transactions by date posted. Fixes 335190.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13719 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
David Hampton
2006-03-31 06:38:47 +00:00
parent ec1bcb86df
commit e615f2ec5a
2 changed files with 5 additions and 2 deletions

View File

@@ -1234,10 +1234,8 @@ xaccTransOrder (const Transaction *ta, const Transaction *tb)
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 : "";