Skip to content

Commit

Permalink
remove WorksControllerBehavior#curation_concern_from_search_results
Browse files Browse the repository at this point in the history
this method was deprecated.
  • Loading branch information
tamsin johnson committed Jun 28, 2022
1 parent 4ff569a commit a9d6650
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions app/controllers/concerns/hyrax/works_controller_behavior.rb
Original file line number Diff line number Diff line change
Expand Up @@ -249,15 +249,6 @@ def contextual_path(presenter, parent_presenter)
::Hyrax::ContextualPath.new(presenter, parent_presenter).show
end

# @deprecated
def curation_concern_from_search_results
Deprecation.warn("'##{__method__}' will be removed in Hyrax 4.0. " \
"Instead, use '#search_result_document'.")
search_params = params.deep_dup
search_params.delete :page
search_result_document(search_params)
end

##
# Only returns unsuppressed documents the user has read access to
#
Expand Down

0 comments on commit a9d6650

Please sign in to comment.