merge fix for bug #2737 from 310 to trunk

svn: r12090
This commit is contained in:
Stéphane Charette 2009-02-23 04:23:41 +00:00
parent 89b37429bc
commit 5a1541ac35

View File

@ -1478,13 +1478,11 @@ class SurnameListPage(BasePage):
if order_by == self.ORDER_BY_NAME:
of = self.report.create_file(filename)
self.write_header(of, _('Surnames'))
self.alphabet_navigation(of, db, person_handle_list, _PERSON)
else:
of = self.report.create_file("surnames_count")
self.write_header(of, _('Surnames by person count'))
# begin alphabetic navigation
self.alphabet_navigation(of, db, person_handle_list, _PERSON)
of.write('<div id="Surnames" class="content">\n')
of.write('\t<p id="description">%s</p>\n' % _(