From 35055c3850eecdcd5f88e228c5690e1b8fad32fd Mon Sep 17 00:00:00 2001 From: Peter Landgren Date: Thu, 9 Jun 2011 13:33:49 +0000 Subject: [PATCH] Fix so that date, if any, in source reference is printed. svn: r17729 --- src/plugins/textreport/DetAncestralReport.py | 2 +- src/plugins/textreport/DetDescendantReport.py | 2 +- src/plugins/textreport/IndivComplete.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/plugins/textreport/DetAncestralReport.py b/src/plugins/textreport/DetAncestralReport.py index bd285192f..74790b030 100644 --- a/src/plugins/textreport/DetAncestralReport.py +++ b/src/plugins/textreport/DetAncestralReport.py @@ -162,7 +162,7 @@ class DetAncestorReport(Report): 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): if (not person_handle) or (index >= 2**self.max_generations): diff --git a/src/plugins/textreport/DetDescendantReport.py b/src/plugins/textreport/DetDescendantReport.py index e98998138..911a8dd95 100644 --- a/src/plugins/textreport/DetDescendantReport.py +++ b/src/plugins/textreport/DetDescendantReport.py @@ -180,7 +180,7 @@ class DetDescendantReport(Report): 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): if (not person_handle) or (cur_gen > self.max_generations): diff --git a/src/plugins/textreport/IndivComplete.py b/src/plugins/textreport/IndivComplete.py index ba2d483e5..47fa3f981 100644 --- a/src/plugins/textreport/IndivComplete.py +++ b/src/plugins/textreport/IndivComplete.py @@ -526,7 +526,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)