New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix last comment date exception #5

Merged
merged 1 commit into from Nov 6, 2018
Merged
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.
+5 −2
Diff settings

Always

Just for now

Copy path View file
@@ -4,5 +4,8 @@ Changelog
1.0a1 (unreleased)
------------------

- Fix last comment date exception.
[rodfersou]

- Package created using templer
[timo]
@@ -27,6 +27,6 @@ def conversations(self):
'url': conv.absolute_url(),
'total_comments': pad_conv.total_comments(),
'last_commenter': last_commenter,
# 'last_comment_date': pad_conv.last_comment_date,
'last_comment_date': pad_conv.last_comment_date,
})
return conversations
@@ -122,7 +122,7 @@ def test_conversations_method(self):
'url': 'http://nohost/plone/board/topic1/conv1',
'total_comments': 2,
'last_commenter': u'Jane Doe',
# 'last_comment_date': comment2.creation_date,
'last_comment_date': conversation.last_comment_date,
}
]
)
ProTip! Use n and p to navigate between commits in a pull request.