Render the field.
$values: The values retrieved from the database.
Overrides Date::render
function render($values) {
$comment_count = $this
->get_value($values, 'comment_count');
if (empty($this->options['empty_zero']) || $comment_count) {
return parent::render($values);
}
else {
return NULL;
}
}