Ask Your Question
1

Is instant email tag filtered? [fixed]

asked 2010-10-26 09:01:44 -0500

Benoit gravatar image Benoit flag of United States
865 22 8 31

updated 2010-10-26 13:22:11 -0500

Evgeny gravatar image Evgeny flag of Chile
11044 50 84 182
http://askbot.org/

With "instant" email settings enabled for the "Entire Forum (tag filtered)", it looks like the tag list is not actually processed.

delete close flag offensive retag edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2010-10-26 10:41:07 -0500

Benoit gravatar image Benoit flag of United States
865 22 8 31

Turns out that there is a couple of problems in the model/content.py file

  • selective_subscribers list is tag filtered. I don't think that's right. If I select a specific question, it should be emailed regardless of the tags. (Line 142)
  • Move the logic that was in selective_subscribers and apply it to whole forum subscribers. There's a nice #todo tag there :)
  • passes_tag_filter_for_user(self,user) should modify the two .count() > 1 to > 0. This returns a match if at least 1 tag matches. Previously you needed two tag match. (~ line 250)
link publish delete flag offensive edit

Comments

Thanks, you are right on all counts. Can't recall what I was smoking that day. Evgeny ( 2010-10-26 13:16:20 -0500 )edit

Your answer

Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Reliable Askbot Hosting

Create your Q&A site at askbot.com. Managed Askbot hosting at just $15/mo. Dedicated hosting, support contracts, consulting services.

create your Q&A site
30 days free trial

Question tools

Follow

subscribe to rss feed

Stats

Asked: 2010-10-26 09:01:44 -0500

Seen: 20 times

Last updated: Oct 26 '10