From ff8cf61e990c1441c3184266b9d3fe93ed60a6d4 Mon Sep 17 00:00:00 2001 From: Michiel Nauta Date: Wed, 29 Dec 2010 16:27:17 +0000 Subject: [PATCH] 4422: Search on father fails in family view svn: r16321 --- src/gen/display/name.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gen/display/name.py b/src/gen/display/name.py index 2bb4d9471..4b718a10f 100644 --- a/src/gen/display/name.py +++ b/src/gen/display/name.py @@ -670,8 +670,8 @@ def fn(%s): #------------------------------------------------------------------------- def sort_string(self, name): - return u"%-25s%-30s%s" % (name.get_primary_surname, name.first_name, - name.suffix) + return u"%-25s%-30s%s" % (name.get_primary_surname().get_surname(), + name.first_name, name.suffix) def sorted(self, person): """