From dc11b217dd2b9d3a6cd2a0c22ac6c7a0265ba4e6 Mon Sep 17 00:00:00 2001 From: Don Allingham Date: Thu, 20 Apr 2006 15:05:56 +0000 Subject: [PATCH] use correct field for building surname key svn: r6379 --- gramps2/ChangeLog | 4 ++++ gramps2/src/GrampsDb/_GrampsBSDDB.py | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index 9341bff14..3686a8ec4 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -1,3 +1,7 @@ +2006-04-19 Don Allingham + * src/GrampsDb/_GrampsBSDDB.py: use correct field for building + surname key + 2006-04-19 Don Allingham * src/GrampsDb/_DbUtils.py: fix handle vs. ref issues * src/RelLib/_Family.py: add remove_child_handle diff --git a/gramps2/src/GrampsDb/_GrampsBSDDB.py b/gramps2/src/GrampsDb/_GrampsBSDDB.py index 884d2ec76..0c92ce30d 100644 --- a/gramps2/src/GrampsDb/_GrampsBSDDB.py +++ b/gramps2/src/GrampsDb/_GrampsBSDDB.py @@ -59,7 +59,7 @@ _MINVERSION = 5 _DBVERSION = 9 def find_surname(key,data): - return str(data[3][3]) + return str(data[3][5]) def find_idmap(key,data): return str(data[1])