theforeman/foreman — pull request #570 by GregSutcliffe (2013-05-01 15:51:42+00:00)
Title: Fix finder_needs_type check in sti mixin

Many thanks to @witlessb for tracking down the fact that `:finder_needs_type_condition` was somehow becoming false permanently - this fixes the Discovery index for me - @ohadlevy can you try to test the /hosts index too?