diff options
-rw-r--r-- | ishtar_common/models.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ishtar_common/models.py b/ishtar_common/models.py index 7451d9b33..41048bfa3 100644 --- a/ishtar_common/models.py +++ b/ishtar_common/models.py @@ -2413,7 +2413,7 @@ class Person(Address, Merge, OwnPerms, ValueGetter): ('Dr', _(u'Doctor')), ) TABLE_COLS = ('name', 'surname', 'raw_name', 'email', 'person_types_list', - 'attached_to', 'town') + 'attached_to__name', 'town') SHOW_URL = 'show-person' MODIFY_URL = 'person_modify' @@ -2426,6 +2426,9 @@ class Person(Address, Merge, OwnPerms, ValueGetter): 'person_types': 'person_types__pk__in', 'ishtaruser__isnull': 'ishtaruser__isnull' } + COL_LABELS = { + 'attached_to__name': _(u"Organization") + } # fields old_title = models.CharField(_(u"Title"), max_length=100, choices=TYPE, |