Commented out the date limiter in the lookup code

This commit is contained in:
John Wiegley 2010-03-10 03:56:20 -05:00
parent 9a0ae50ce7
commit 25c72d6e23

View file

@ -84,10 +84,12 @@ lookup_probable_account(const string& ident,
#endif
while (xact_t * xact = iter_func()) {
#if 0
// Only consider transactions from the last two years (jww (2010-03-07):
// make this an option)
if ((CURRENT_DATE() - xact->date()).days() > 700)
continue;
#endif
// An exact match is worth a score of 100 and terminates the search
if (ident == xact->payee) {