I am using Search API in Views with many exposed filters. My client wants a search block in the site's header that shows the results in Views. I only need one filter on the header, not all the others, so I can't use Exposed form in block. Also, when seeing the results, I need all the exposed filters to be shown in top of the results, not in the header. I didn't find a solution in internet, so I write my solution code here. If you know a better solution, please, add it in the comments.
I have created a simple module to solve the problem.