theforeman/foreman — pull request #1419 by domcleal (2014-05-01 15:07:55+00:00)
Title: fixes #5489 - don't generate empty search () filters on permissions migration

Please see http://projects.theforeman.org/issues/5489 for a reproducer.

@ares or @eLobato please review :)