Skip to content

Commit

Permalink
Refs #37587 - Remove unused sort_params method
Browse files Browse the repository at this point in the history
This method has been unused since ElasticSearch was dropped.

Fixes: 26cbfb4 ("Refs #11753 - remove elastic search from content view filter rules")
  • Loading branch information
ekohl committed Aug 30, 2024
1 parent a4f1baf commit 29392cf
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions app/controllers/katello/api/v2/api_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -188,13 +188,6 @@ def find_organization
@organization
end

def sort_params
options = {}
options[:sort_by] = params[:sort_by] if params[:sort_by]
options[:sort_order] = params[:sort_order] if params[:sort_order]
options
end

def find_optional_organization
org_id = organization_id
return if org_id.nil?
Expand Down

0 comments on commit 29392cf

Please sign in to comment.