narrativeweb: proxies and filters may hide objects

This commit is contained in:
Doug Blank 2016-05-25 16:18:48 -04:00
parent 0820e70499
commit 898bfb4eae

View File

@ -8328,14 +8328,14 @@ class NavWebReport(Report):
@param: bkref_handle -- The handle associated to this person @param: bkref_handle -- The handle associated to this person
""" """
person = self.database.get_person_from_handle(person_handle) person = self.database.get_person_from_handle(person_handle)
person_name = self.get_person_name(person)
person_fname = self.build_url_fname(person_handle, "ppl",
False) + self.ext
self.obj_dict[Person][person_handle] = (person_fname, person_name,
person.gramps_id)
self.bkref_dict[Person][person_handle].add((bkref_class, bkref_handle))
if person: if person:
person_name = self.get_person_name(person)
person_fname = self.build_url_fname(person_handle, "ppl",
False) + self.ext
self.obj_dict[Person][person_handle] = (person_fname, person_name,
person.gramps_id)
self.bkref_dict[Person][person_handle].add((bkref_class, bkref_handle))
############### Header section ############## ############### Header section ##############
for citation_handle in person.get_citation_list(): for citation_handle in person.get_citation_list():
self._add_citation(citation_handle, Person, person_handle) self._add_citation(citation_handle, Person, person_handle)