Commit f2d9f596 by Diana Huang

Remove exists clause from query.

parent 3161c460
...@@ -133,7 +133,7 @@ helpers do ...@@ -133,7 +133,7 @@ helpers do
context=:course context=:course
) )
context_threads = comment_threads.any_of({:context.exists => false}, {:context => context}) context_threads = comment_threads.where({:context => context})
if not group_ids.empty? if not group_ids.empty?
group_threads = get_group_id_criteria(comment_threads, group_ids) group_threads = get_group_id_criteria(comment_threads, group_ids)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment