Fix to make sure we only process a new person once, else it corrupts the view

svn: r11508
This commit is contained in:
Doug Blank 2008-12-23 15:18:15 +00:00
parent 2fd67ea581
commit d83525c272

View File

@ -711,7 +711,7 @@ class PersonView(PageView.PersonNavView):
return return
if self.active: if self.active:
self.dirty = False self.dirty = False
for node in handle_list: for node in set(handle_list):
person = self.dbstate.db.get_person_from_handle(node) person = self.dbstate.db.get_person_from_handle(node)
pname = person.get_primary_name() pname = person.get_primary_name()
top = name_displayer.name_grouping_name(self.db, pname) top = name_displayer.name_grouping_name(self.db, pname)