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

svn: r17732
This commit is contained in:
Peter Landgren 2011-06-09 14:11:03 +00:00
parent 3eea6dc8dc
commit 296d7557b7
3 changed files with 3 additions and 3 deletions

View File

@ -144,7 +144,7 @@ class DetAncestorReport(Report):
empty_date, empty_place,
get_endnote_numbers=self.endnotes)
self.bibli = Bibliography(Bibliography.MODE_PAGE)
self.bibli = Bibliography(Bibliography.MODE_DATE|Bibliography.MODE_PAGE)
def apply_filter(self, person_handle, index):
if (not person_handle) or (index >= 2**self.max_generations):

View File

@ -155,7 +155,7 @@ class DetDescendantReport(Report):
empty_date, empty_place,
get_endnote_numbers=self.endnotes)
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):
if (not person_handle) or (cur_gen > self.max_generations):

View File

@ -522,7 +522,7 @@ class IndivCompleteReport(Report):
def write_person(self, count):
if count != 0:
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()
name = _nd.display(self.person)