Skip to content

Commit

Permalink
Fencing more system groups code for systems page
Browse files Browse the repository at this point in the history
  • Loading branch information
Jordan OMara committed Jul 19, 2012
1 parent 34466ee commit f06bf0c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/controllers/systems_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -676,8 +676,8 @@ def controller_display_name
# to filter readable systems that can be
# passed to search
def readable_filters
{:environment_id=>KTEnvironment.systems_readable(current_organization).collect{|item| item.id},
:system_group_ids=>SystemGroup.systems_readable(current_organization).collect{|item| item.id}}
filters = {:environment_id=>KTEnvironment.systems_readable(current_organization).collect{|item| item.id}}
filters[:system_group_ids] = SystemGroup.systems_readable(current_organization).collect{|item| item.id} if AppConfig.katello?
end

def search_filter
Expand Down

0 comments on commit f06bf0c

Please sign in to comment.