From 89c94a6fa493429d9110cd1ebd35838b0a62c8f9 Mon Sep 17 00:00:00 2001 From: Serge Noiraud Date: Wed, 18 Apr 2012 18:05:08 +0000 Subject: [PATCH] Geography : markers were insensitive for the reference person in geoclose svn: r19353 --- src/plugins/view/geoclose.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/plugins/view/geoclose.py b/src/plugins/view/geoclose.py index bbc9c3a7f..af7929794 100644 --- a/src/plugins/view/geoclose.py +++ b/src/plugins/view/geoclose.py @@ -396,10 +396,12 @@ class GeoClose(GeoGraphyView): else: self._append_to_places_without_coord( place.gramps_id, descr) - self.sort = sorted(self.place_list, - key=operator.itemgetter(6) - ) - self.draw(None, self.sort, color, reference) + sort1 = sorted(self.place_list, key=operator.itemgetter(6)) + self.draw(None, sort1, color, reference) + # merge with the last results + merge_list = [] + for the_list in self.sort, sort1 : merge_list += the_list + self.sort = sorted(merge_list, key=operator.itemgetter(6)) def init_new_compare(self): """