0001543: Preferences name format not used - Timeline Graph

svn: r9730
This commit is contained in:
Brian Matherly 2008-01-06 21:58:21 +00:00
parent 4be9fbe097
commit d7ac3bcc06
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2008-01-06 Brian Matherly <brian@gramps-project.org>
* src/ReportBase/_ReportUtils.py:
0001543: Preferences name format not used - Timeline Graph
2008-01-06 Brian Matherly <brian@gramps-project.org> 2008-01-06 Brian Matherly <brian@gramps-project.org>
* src/Config/_GrampsConfigKeys.py: * src/Config/_GrampsConfigKeys.py:
* src/DataViews/__init__.py: * src/DataViews/__init__.py:

View File

@ -2647,9 +2647,10 @@ def get_person_filters(person, include_single=True):
@type person: boolean @type person: boolean
""" """
from Filters import GenericFilter, Rules, CustomFilters from Filters import GenericFilter, Rules, CustomFilters
from BasicUtils import name_displayer
if person: if person:
name = person.get_primary_name().get_name() name = name_displayer.display(person)
gramps_id = person.get_gramps_id() gramps_id = person.get_gramps_id()
else: else:
# Do this in case of command line options query (show=filter) # Do this in case of command line options query (show=filter)