Skip to content

Commit

Permalink
Fixes #15443 - Use ::Foreman instead of Foreman (Katello#6130)
Browse files Browse the repository at this point in the history
  • Loading branch information
akofink authored and ehelms committed Jun 16, 2016
1 parent 849f26b commit 39117d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/katello/api/v2/api_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def scoped_search(query, default_sort_by, default_sort_order, options = {})
query = query.order("#{query.table_name}.id DESC") unless group #secondary order to ensure sort is deterministic
query = query.includes(includes) if includes.length > 0

if Foreman::Cast.to_bool(params[:full_result])
if ::Foreman::Cast.to_bool(params[:full_result])
params[:per_page] = total
else
query = query.paginate(paginate_options)
Expand Down

0 comments on commit 39117d8

Please sign in to comment.