Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[bug 701386] fixes forum_id filter

If you filtered by forum in the contributor forum advanced search, it'd
kick up an error because forum_id is a list of ids and thus should be
added using filter__in= rather than just filter=.
  • Loading branch information...
commit 38fff111a077ecc7ca8178141496df3b9777c067 1 parent a566484
@willkg willkg authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  apps/search/
2  apps/search/
@@ -182,7 +182,7 @@ def search(request, template=None):
discussion_s = discussion_s.filter(is_locked=1)
if cleaned['forum']:
- discussion_s = discussion_s.filter(forum_id=cleaned['forum'])
+ discussion_s = discussion_s.filter(forum_id__in=cleaned['forum'])
# Filters common to support and discussion forums
# Created filter
Please sign in to comment.
Something went wrong with that request. Please try again.