diff options
author | John Wiegley <johnw@newartisans.com> | 2010-03-10 03:56:20 -0500 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2010-03-10 03:56:20 -0500 |
commit | 25c72d6e23dc93cc590e73327238368245cdcd9c (patch) | |
tree | a892cfb60b8aa2dd052a89fea373a1a57364f716 /src/lookup.cc | |
parent | 9a0ae50ce7f94996af26635f7e0b31e84350d8d1 (diff) | |
download | fork-ledger-25c72d6e23dc93cc590e73327238368245cdcd9c.tar.gz fork-ledger-25c72d6e23dc93cc590e73327238368245cdcd9c.tar.bz2 fork-ledger-25c72d6e23dc93cc590e73327238368245cdcd9c.zip |
Commented out the date limiter in the lookup code
Diffstat (limited to 'src/lookup.cc')
-rw-r--r-- | src/lookup.cc | 2 |
1 files changed, 2 insertions, 0 deletions
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) { |