Is anybody else experiencing this?

- I've created an activity rule to show comments on nodes made by other users ("so-&-so commented on your post").
- Then, I set it to group the display based upon "action and the entity .." as follows:

[names] commented on your [node:type-name] [node:title]

- I then generate two or more comments by multiple users (other than current user).

But the grouping doesn't take effect in the activity log view no matter how many comments I create or regenerate. I can get the other group by's to work fine.

Comments

icecreamyou’s picture

Title: "Group by action and the entity on which the action was performed" Broken? » Group comments by node
Component: User interface » Code
Category: bug » feature

The target entity is the comment, not the node. Grouping comments by the node isn't currently possible and it's not immediately clear to me how that would be accomplished.

pribeh’s picture

So rules doesn't have any data on what node a comment is being left on?

pribeh’s picture

Also, how does this differ from using flags for activity rules? I've successfully done exactly this by using flags as follows:

John, Sally, and Sandra like your post

icecreamyou’s picture

So rules doesn't have any data on what node a comment is being left on?

It's more a matter of how the data is stored. I mean, since we have the comment ID, we can look up what the relevant node is. The problem is how we store the node ID with the activity message when the node isn't the target entity.

Also, how does this differ from using flags for activity rules?

When you flag a node, the target entity is the node, not the flag. However, when you comment, the target entity is the comment, not the thread.

pribeh’s picture

Thanks for explaining.

igorik’s picture

this sound like a very good feature

icecreamyou’s picture

Status: Active » Postponed