r20478 - gnucash/trunk/src/import-export - Bug #645406: Make transaction matching on memo and description case-insensitive
Christian Stimming
cstim at code.gnucash.org
Fri Mar 25 15:56:51 EDT 2011
Author: cstim
Date: 2011-03-25 15:56:51 -0400 (Fri, 25 Mar 2011)
New Revision: 20478
Trac: http://svn.gnucash.org/trac/changeset/20478
Modified:
gnucash/trunk/src/import-export/import-backend.c
Log:
Bug #645406: Make transaction matching on memo and description case-insensitive
Patch by gnemas:
The function split_find_match() in import-backend.c scores
transactions according to comparisons of amount, date, description,
etc.
I noticed that the comparison of the description and memo fields is
case-sensitive.
This means that my supermarket entries that have descriptions "Giant
Food" do not match the downloaded descriptions "GIANT FOOD".
This applies to both the exact and the 50% match cases, and for both
the memo and the description fields.
The attached patch should fix this.
More information about the gnucash-patches
mailing list