3 class SearchResultsMode < ThreadIndexMode
9 ## TODO: think about this
10 def is_relevant? m; super; end
12 def load_threads opts={}
13 n = opts[:num] || ThreadIndexMode::LOAD_MORE_THREAD_NUM
14 load_n_threads_background n, :qobj => @qobj,
17 :when_done =>(lambda do |num|
18 opts[:when_done].call if opts[:when_done]
20 BufferManager.flash "Found #{num} threads"
22 BufferManager.flash "No matches"