Even if there is no comment, Views shows last comment time
which is same as the Node creation time.

Expected it should show a blank in the last comment time ( like forum module shows a blank in last comment space if there is no comment) - this appears odd when comment count is 0 but there is a last comment time shown.

How to correct this ?

Comments

merlinofchaos’s picture

Category: bug » support
Status: Active » Fixed

The last comment time just shows the data from the field in the node_comment_statistics table which is set to the node creation time by Drupal. In order to get it to not show, you probably would need to create a theme template for that field and write a check against the comment count.

gremonty’s picture

How to write a check against the comment count? I am trying but unable.
If there is no comment and yet there is a last comment time in the node_comment_statistics table is it a bug there ? To which module issues this needs to be submitted ?

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.