mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
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:
parent
ec1bcb86df
commit
e615f2ec5a
@ -1,3 +1,8 @@
|
||||
2006-03-31 David Hampton <hampton@employees.org>
|
||||
|
||||
* src/engine/Transaction.c: Restore sorting transactions by date
|
||||
posted. Fixes 335190.
|
||||
|
||||
2006-03-30 David Hampton <hampton@employees.org>
|
||||
|
||||
* src/gnome-utils/dialog-reset-warnings.c: Fix the dialog so that
|
||||
|
@ -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 : "";
|
||||
|
Loading…
Reference in New Issue
Block a user