|
|
|
|
@ -14,6 +14,7 @@ class AnnotationReflex < ApplicationReflex
|
|
|
|
|
def render_annotations_views(search_params) |
|
|
|
|
search = annotation_search(search_params) |
|
|
|
|
@annotations = search.results |
|
|
|
|
morph "#annotationsIndexView", render(partial: "/shared/annotations_index_view", locals: { annotations: @annotations, opts: { current_page: search_params[:page] } }) |
|
|
|
|
morph "#annotationsIndexView", render(partial: "/shared/annotations_index_view", locals: { annotations: @annotations, |
|
|
|
|
opts: { doctrine_id: search_params[:doctrine_id], current_page: search_params[:page] } }) |
|
|
|
|
end |
|
|
|
|
end |
|
|
|
|
|