Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I have a couple of different counts I want to display on my site -- comments, private messages, flagged content, etc. I can set the "tag" in the Rule which is good. It would be great if user_notifications_unread_count() took an argument for "tag" (and "type" though I don't know what I would use this for) and then the query did a join on the user_notifications_messages table to produce the needed count for the tag.
Comments
Comment #1
capellicShould these new arguments be added, they should be added as arrays. One might want to query for more than one.
Comment #2
thomjjames CreditAttribution: thomjjames commented+1 for this, like it! please provide a patch if you can.
Cheers
Tom
Comment #3
yaworsk CreditAttribution: yaworsk commented