Skip to content

Commit 4fc458a

Browse files
author
Taverne Sylvain
committed
MailingView: use method get_title
1 parent 4e30b7d commit 4fc458a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mailing_views.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ def get_item_value(self, resource, context, item, column):
6161
if column == 'title':
6262
brain, item_resource = item
6363
href = '%s/' % context.get_link(item_resource)
64-
return brain.title, href
64+
return item_resource.get_title(), href
6565
elif column == 'is_sent':
6666
brain, item_resource = item
6767
is_sent = item_resource.get_property('is_sent')

0 commit comments

Comments
 (0)