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

capellic’s picture

Should these new arguments be added, they should be added as arrays. One might want to query for more than one.

thomjjames’s picture

Category: bug » feature

+1 for this, like it! please provide a patch if you can.

Cheers
Tom

yaworsk’s picture

Issue summary: View changes
Status: Active » Postponed