summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrédéric Péters <fpeters@entrouvert.com>2014-04-02 13:00:16 (GMT)
committerFrédéric Péters <fpeters@entrouvert.com>2014-04-02 13:00:16 (GMT)
commit94ba5f6afd35479d79e4b2dd8de07a331af891d1 (patch)
treed48792603d548ed8d333d5f3a9020612acc21549
parent0a6b8eeff7eb3c6c4b72f6ddb5f1343ccea35fad (diff)
downloadcollective.contact.core-master.zip
collective.contact.core-master.tar.gz
collective.contact.core-master.tar.bz2
add a get_full_title method to person, to match other classesHEADmaster
-rw-r--r--src/collective/contact/core/content/person.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/collective/contact/core/content/person.py b/src/collective/contact/core/content/person.py
index 8e65590..e16a224 100644
--- a/src/collective/contact/core/content/person.py
+++ b/src/collective/contact/core/content/person.py
@@ -82,6 +82,9 @@ class Person(Container):
title = property(get_title, set_title)
+ def get_full_title(self):
+ return self.get_title()
+
def Title(self):
# must return utf8 and not unicode (Title() from basic behavior return utf8)
# attributes are stored as unicode