Hi,

I want to order comments in digest by node type. So i need the nid in notifications_event.

I did a patch in notifications_content.module to add it to the saved event.

Is there a reason why wa shouldn't have nid in oid field as we have for node insert ?

Could you add it please ? patch will follow.

Comments

chipway’s picture

Status: Active » Needs review
StatusFileSize
new615 bytes

Patch to add $comment->nid as oid in notifications_event :

notifications_content-Order_comments_in_digest_by_node_type-1508498-1.patch

Could you review it and apply if no side effect as stated above?

Tks

chipway’s picture

In order to be allowed to rewrite the $sql in notifications.cron.inc on lines 200+

We wrap the $sql in db_query_sql().

Here is the patch that do this.

Please review.

chipway’s picture

Status: Needs review » Closed (won't fix)

May be not really useful.

Changing status.