Commit df655869 authored by Randall Leeds's avatar Randall Leeds

Search all threads with search bar

Fixes #791
parent b5f105c4
......@@ -822,9 +822,8 @@ class Search
threads = []
$scope.render_order = {}
# Choose the root annotations to work with
for annotation in $scope.annotations
# The annotation itself is a hit.
thread = annotation.thread
for id, thread of annotator.threading.idTable when thread.message?
annotation = thread.message
if annotation.id in $scope.search_filter
threads.push thread
......
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