From 296d7557b727d052f5c177aa70b22fcd6b5d5bf5 Mon Sep 17 00:00:00 2001 From: Peter Landgren Date: Thu, 9 Jun 2011 14:11:03 +0000 Subject: [PATCH] Fix so that date, if any, in source reference is printed. svn: r17732 --- 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 6cec8d5ca..831bfaf16 100644 --- a/src/plugins/textreport/DetAncestralReport.py +++ b/src/plugins/textreport/DetAncestralReport.py @@ -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): diff --git a/src/plugins/textreport/DetDescendantReport.py b/src/plugins/textreport/DetDescendantReport.py index 629fea2c7..9fff112e5 100644 --- a/src/plugins/textreport/DetDescendantReport.py +++ b/src/plugins/textreport/DetDescendantReport.py @@ -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): diff --git a/src/plugins/textreport/IndivComplete.py b/src/plugins/textreport/IndivComplete.py index 5f28eaf37..70c91486f 100644 --- a/src/plugins/textreport/IndivComplete.py +++ b/src/plugins/textreport/IndivComplete.py @@ -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)