I have a view with an exposed filters and sorting. They are displayed as a separate block.
I want to hide only sorting widget if view return empty result (filters must left)
How to achieve this?
The problem is that when exposed form is rendered its view isn't executed yet - so i can't determine if view has any result.