summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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) {