Skip to content

Commit

Permalink
Fixes #38170 - Explicitly handle content_view params during AK create
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremylenz committed Jan 28, 2025
1 parent 882b257 commit 837de2e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ def params_likely_not_from_angularjs?

def find_content_view_environments
@content_view_environments = []
if params[:environment_id] || params[:environment]
if (params[:environment_id] || params[:environment]) || (params[:content_view_id] || params[:content_view])
find_cve_for_single
elsif params_likely_not_from_angularjs? && (params[:content_view_environments] || params[:content_view_environment_ids])
@content_view_environments = ::Katello::ContentViewEnvironment.fetch_content_view_environments(
Expand Down

0 comments on commit 837de2e

Please sign in to comment.