fix(search): respect entity type/subtype instead of params type/subtype

In the default search result listing the entity view was determined
based on the search params. If however you return different type/subtype
entities those couldn't get their own search entity views.
fix(discussion): also search in discussion replies when searching
discussion topics

There was no way to search in the discussion replies, which limited the
discussion search results.

fixes: #7168