You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
424 B
12 lines
424 B
# frozen_string_literal: true |
|
|
|
class AnnotationReflex < ApplicationReflex |
|
include DocumentSearch |
|
|
|
def render_document_search_results(search_params) |
|
search = document_search(search_params) |
|
@documents = search.results |
|
opts = { is_citing_document: true } |
|
morph "tbody#documentSearchResultTable", render(partial: "document_search_results_table", locals: { search_results: @documents, opts: opts }) |
|
end |
|
end
|
|
|