Views filter Discusson (comments) by new comments

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
Alex Overton's picture

Hi, Pulling what's left of hair out...

So creating a view to show just "new" comments in discussion content type.

For interest this is to display "menu badge" icon on a "forum" section that I have created.

I can see that OA has "new" status possibly using the 'flags' module...but can not seem to leverage this a relationship or filter .

Looking for pointers ...tried using PHP filter in view ...no luck so far...
return comment_num_new($data->nid) == 0;

help much appreciated thanks in advance.

Alex

Open Atrium

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: