summaryrefslogtreecommitdiff
path: root/src/lookup.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2010-03-10 03:56:20 -0500
committerJohn Wiegley <johnw@newartisans.com>2010-03-10 03:56:20 -0500
commit25c72d6e23dc93cc590e73327238368245cdcd9c (patch)
treea892cfb60b8aa2dd052a89fea373a1a57364f716 /src/lookup.cc
parent9a0ae50ce7f94996af26635f7e0b31e84350d8d1 (diff)
downloadfork-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.cc2
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) {