Fix so that date, if any, in source reference is printed.

svn: r17729
This commit is contained in:
Peter Landgren 2011-06-09 13:33:49 +00:00
parent 37c6af8b45
commit 35055c3850
3 changed files with 3 additions and 3 deletions

View File

@ -162,7 +162,7 @@ class DetAncestorReport(Report):
self.__get_type = translator.get_type self.__get_type = translator.get_type
self.bibli = Bibliography(Bibliography.MODE_PAGE) self.bibli = Bibliography(Bibliography.MODE_DATE|Bibliography.MODE_PAGE)
def apply_filter(self, person_handle, index): def apply_filter(self, person_handle, index):
if (not person_handle) or (index >= 2**self.max_generations): if (not person_handle) or (index >= 2**self.max_generations):

View File

@ -180,7 +180,7 @@ class DetDescendantReport(Report):
self.__get_type = translator.get_type self.__get_type = translator.get_type
self.bibli = Bibliography(Bibliography.MODE_PAGE) self.bibli = Bibliography(Bibliography.MODE_DATE|Bibliography.MODE_PAGE)
def apply_henry_filter(self,person_handle, index, pid, cur_gen=1): def apply_henry_filter(self,person_handle, index, pid, cur_gen=1):
if (not person_handle) or (cur_gen > self.max_generations): if (not person_handle) or (cur_gen > self.max_generations):

View File

@ -526,7 +526,7 @@ class IndivCompleteReport(Report):
def write_person(self, count): def write_person(self, count):
if count != 0: if count != 0:
self.doc.page_break() self.doc.page_break()
self.bibli = Bibliography(Bibliography.MODE_PAGE) self.bibli = Bibliography(Bibliography.MODE_DATE|Bibliography.MODE_PAGE)
media_list = self.person.get_media_list() media_list = self.person.get_media_list()
name = _nd.display(self.person) name = _nd.display(self.person)