Alerts search

The only relevant commits are 07b5650 and 31e8b84
So this method basically either takes a filter type on the left, or a list of filter types, effectively flattening?