From 25c72d6e23dc93cc590e73327238368245cdcd9c Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Wed, 10 Mar 2010 03:56:20 -0500 Subject: Commented out the date limiter in the lookup code --- src/lookup.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/lookup.cc') diff --git a/src/lookup.cc b/src/lookup.cc index 76e05bc4..40b6c185 100644 --- a/src/lookup.cc +++ b/src/lookup.cc @@ -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) { -- cgit v1.2.3