Rename type param in to t
Refactor SearchResultsController before filters
Add query to search results